Implement daily automatic Update with dedecms timing Publishing Plugin

Source: Internet
Author: User

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

Dedecms has been the first choice to do the garbage station, however, the recent group of discussions that Dedecms became the object of Baidu crackdown. Personally, although Dede design is very rubbish, but the ease of use is still commendable. Whether the Baidu crackdown is entirely dependent on the template design and operational behavior of the grasp. Some people come up on a large collection, and then no longer indifferent, such a station certainly not much way out. In this, I realize an automatic timing Update method, sharing to the Group brothers.

Garbage station IP is usually located in 10,000 IP, such a garbage station is more cost-effective, at the same time do a few garbage stations add up also will not be less, refuse to invest too much energy, unless the latter need to transition. 10,000 below the IP station, the proposal uses pseudo static. Dedecms do refuse station is not included in the reason, mainly because of a one-time collection of content too much. Some people in the group said that to collect tens of thousands of information, and then set to not audit, after the daily manual audit dozens of on the line. In this idea, I designed this plugin, the following to my site as an example, explain the function of this plug-in.

Main ideas:

1, set all articles and columns for pseudo static, links, such as: Http://www.98jy.cn/view-43252-1.html 43252 is the ID of the article, the last 1 represents the paging. Pseudo-static time must be removed from the default xxx.com/plus/xxxx.html this is the DEDECMS logo.

2, set all documents to dynamic only, update dede_archives set Ismake=-1

Set all columns to "use dynamic page", Update Dede_arctype set Isdefault=-1

3, Batch modification release time is a random time, I set here is 30 days. In the next 30 days, the website will be automatically updated daily.

"UPDATE ' dede_archives ' SET ' sortrank ' =". $tm. ", ' senddate ' =". $tm. ", ' ismake ' = '-1 ', ' pubdate ' = '. $tm." WHERE ' id ' = ' $user [' id ']. LIMIT 1 ";

"UPDATE ' dede_arctiny ' SET ' sortrank ' =". $tm. ", ' senddate ' =". $tm. " WHERE ' id ' = ' $user [' id ']. LIMIT 1 ";

4, with JS output width High are 0 of the IFRAME trigger, audit through the current time before the audit of the article.

"SELECT * from ' dede_archives ' WHERE ' pubdate ' < '". $tm. "and ' arcrank ' =-1";

"UPDATE ' dede_archives ' SET ' arcrank ' = 0 WHERE ' id ' = '. $user [' id ']." LIMIT 1 ";

"UPDATE ' dede_arctiny ' SET ' arcrank ' = 0 WHERE ' id ' = '. $user [' id ']." LIMIT 1 ";

At this point, a fully automatic garbage station was built. Collect 100,000 pieces of false original article, according to the above method set up, look at the site automatically updated every day, and then is to write a soft text or exchange links, waiting to receive dollars. In this way, a person can build hundreds of sites, each site a few dollars a day to earn a few knives to maintain life.

Original method, demo station http://www.98jy.cn don't understand can add group: 87753111

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.