Empire CMS Collection Graphics and text tutorial (next)

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

The first two talk about the Imperial CMS acquisition of the basic process and the Empire CMS how to collect content pagination, and finally this talk about the Imperial CMS collection filtering and replacement, and some skills.

I. Filtration

1, the Imperial CMS Collection filter is divided into two kinds:

(1) "Overall page filter Regular":

  

(2) "Filter Advertising regular":

  

11545.html "> We're wondering, what's the difference between these two filters?" Overall page filter Regular "is the HTML code that filters the entire page." "Filter Ads" is the filter of the content of the article, only the content of the article ([!--newstext--]) function.

2. Filter Example:

Filter instance (1):

  

After we gather, we find that there is more line code at the bottom of the information content: "<div style=" Clear:both;height:0;visibility:hiddden;overflow:hidden; >&nbsp;</div> ", according to format" ad start [!--ad--] ad end "get" filtered ads regular
”:

  

Filter instance (2):

  

To filter the link code, notice that there is a heap of code on the right side of "filtered ads":

  

Click a first mouse, the system automatically generated filter link code ",,,", so that the collection after the content of the link filtered out. Similarly, if you want to filter other HTML code, click the appropriate tag code.

Note: When content pagination is included in the content ([!--newstext--]), you want to filter out content pagination, otherwise the content page will be repeated.

Ii. replacement

1, the Imperial CMS acquisition and replacement is divided into two kinds:

(1) "Overall page replacement":

  

(2) "Replacement":

  

They are different: "Overall page replacement" is the HTML code that replaces the entire page. Replace is the replacement of the article title and content, only for the title ([!--title--]) and ([!--newstext--]).

2, replace the example:

  

#p # subtitle #e#

We want to replace the content of "Xinhua" into "China Net":

  

Preview:

  

No problem, replace it.

Third, picture collection

(1) When we gather, we will encounter the information content can be collected normally, but the picture inside does not show, example:

  

The information content can collect normally, is the picture does not show out, this is because the path of the content picture is not right, the path of the picture is relative address.

(2) View Source code:

  

Picture is a relative address, to be replaced by an absolute address to capture success.

(3) Replace with absolute address:

Right-click on the image of the target station to view the properties:

  

The target station's picture address is "http://www.gdyd.com/news/PNews/a/e77366_634655073936250000.jpg", we collect the picture address as "/news/pnews/a/e77366_ 634655073936250000.jpg ", the analysis gets the prefix" http://www.gdyd.com ", we put the prefix to" Picture Flash address prefix (content) ", the following figure:

  

(4) Foreground preview Picture:

The picture shows:

  

View Source code:

  

Picture address Yes, it's a local address.

Note: We collect the preview and in the local temporary storage information, found that the image has been added to the prefix, but the picture is still not displayed, you do not have to ignore him, direct storage, warehousing system will automatically add picture address prefix.

At this point to collect examples to explain the completion of the three to the Imperial CMS Collection of basic flow, focus, difficult to summarize the basic, but also some basic functions can not be introduced clearly, we can go to the official Empire website to see the basic tutorial.

This article by the foreign website Daquan http://www.kguowai.com Original, reprint please indicate the source, thank you!

Empire CMS Collection Graphics and text tutorial (i)

Empire CMS Collection Graphics and text tutorial (middle)

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.