In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to make Baidu dead-chain files in mobile development, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article.
Baidu officially defines the dead link format in two ways:
One: dead link file in xml format
We know that xml format is commonly found in website maps, especially google maps (such as sitemap.xml). In general, most webmasters use some software or common xml online generation tools and plug-ins for making sitemap.xml map files of the website.
And Baidu just pushed out this dead-chain tool, the production of xml format files do not have such software, because the dead-chain is actually not fixed, it is difficult to design software to automatically judge and automatically generate files. So we need our webmaster to manually write our Xml dead link file, as follows:
The specific format is as follows:
Http:// your dead link URL, you must have http://.
Among them
Http:// your dead link URL, you must have http://.
Is the production format of dead-chain files, and multiple files are copied and written according to this format.
Two: dead link files in txt format
Compared with the dead link file in xml format, it is easier to make the dead link file in txt format. You only need to create a new txt text file and put all the paths of the dead link into the txt file, but it should be noted that only one URL can be written on each line, and the URL cannot be wrapped, and the file cannot contain information other than the URL. And each file can write up to 50000 URLs and the file size is smaller than 10KB, if the extra can be made multiple.
Note: each URL must start with http://, and it is not recommended to use the dead chain production of text files, sometimes some special characters may cause Baidu to identify the number of dead chains inaccurately.
In addition, it is declared that the article is the original article of the computer software and hardware application network, please indicate the source and the author when reproduced.
Finally, attach the XML tag description:
Attribute
Whether it is required
Description
Required. Fill in only. The parent tag of each URL record is required. The URL of this page is required. The value must be less than 256 bytes. You can choose the date the file was last modified. How often the optional page may change. Valid values are:
Always
Hourly
Daily
Weekly
Monthly
Yearly
Never
You can choose the priority of this page. Valid values range from 0.0 to 1.0. Thank you for reading this article carefully. I hope the article "how to make Baidu Dead chain File in Mobile Development" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.