Edit HTML code and make a list of your posts in batches

Source: Internet
Author: User

When the accumulation of more posts, often want to make a classification directory, convenient for readers to read. This can be an easy and boring job.

Taking "The guide to the growth of IT Students" column and article catalogue, as an example, introduce my "lazy" approach. This directory is always updated, it's a thing. Perhaps a skill, behind, is all the bitterness of repeated work. The so-called skill is all from the stupid way.


How to make a blog list

I want to include in the catalogue of articles, all from the "It Student Growth Guide" blog column. Go to the column and change to the "Manage Columns" page. Select the article you want to get into the column and ctrl-c copy it. (If the blog is not from a column, select the "Contents" view on the home page.) ) 1:


To the CSDN blog, "Write a new article", Ctrl-v, a list of articles with links copied in. There are other articles, several more. May be in the indentation and other aspects of the situation will be unsatisfactory, do not have to tube, after processing. 2:


Click on the "" "icon to enter the source code view, to use is the HTML code of these articles. Ctrl-a,ctrl-c. 3:


Start EditPlus (or other HTML editor, even for Word, WPS), create a new HTML document, Ctrl-v. 4:


Next, edit the HTML with EditPlus. For future formatting to be uniform, keep only the most basic ingredient (<a href= "..." > Text </a>) in each <a> tag, removing all adornments.
When editing, do not use eye and hand combination. The replacement function with the editor.
Select a piece, ctrl-c,ctrl-v to the "Find" box, "replace" as the part, empty on the line. Point "Replace All", very cool feeling. 5:


These are just a few of the markings. Several times down, there may be individual exceptions, manually deleted.
The document looks like 6.


You can also add the tags you want. For example, each link is a single line of layout, with </a> replaced by </a><br\>. 7:


Copy the code into your newly written blog post and switch to the visual editing view, and you'll have the results you want. 8:


Next, sort and edit as you think.


Make a list of links

Editing directly with HTML is a convenient way to do it. Computer professional, know the point of HTML, it is good.
In my job, at least every year, I have to do a student blog link list (such as the C + + Programming Course Homepage-list in level 2013), such as the legal bubble system.
The class representative gave me the student name and the user number of the CSDN blog, which is an Excel document 9:


Edit and write the HTML link tag. Continue in Excel because the "Fill" feature in Excel is strong, a line is written, and the other lines are dragged. 10:


The contents of the table, copied, pasted into Word, are still a table. Convert table to text and then replace all tabs with empty, 11:


Then, all the student links are there, 12.


Add some line breaks as needed, and you are done.




=================== Helijian csdn Blog column ================= |== It Student Growth Guide Column column categories (not regularly updated) ==| |== C + + Classroom Online Column The course teaching link (sub-course grade) ==| |== I wrote the book-"The reverse of the university-to the positive energy of IT students" ==| ===== for it rookie runway, and students enjoy a happy and passionate university =====



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.