In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
How to use Django basic template to optimize their knowledge base, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail, people with this need can come to learn, I hope you can gain something.
I sometimes sync my articles to the headlines and find an interesting phenomenon. The reading volume of articles in the official account is basically stable, if it is not too high, I post some non-technical articles, the reading volume is obviously higher, technical articles are relatively lower than non-technical articles. On the contrary, some technical articles have the phenomenon of blowout. Suddenly an article has hundreds of collections, while non-technical articles pay less attention to them. I think there is a big difference between the official account and the headlines. The official account group is relatively vertical, the readers are sticky, and the headline group is relatively larger, but the stickiness of the readers is not strong.
There is a saying that I just sweep the world without sweeping the house. I think I am stuck in it. I read a lot of articles every day, but there are few articles worth collecting. It is conservatively estimated that if I collect one article a day, there will be more than 300 in that year. If there are a few more, then this order of magnitude will increase several times. It's absolutely beyond our control.
When I realized the seriousness of this problem, a new knowledge base was established in about two days from the beginning of improvement to today.
This is a screenshot of the original first draft of the knowledge base:
Up to now, great changes have taken place.
Apart from the style of the interface, in addition to work in the past two days, I have done the following things:
The navigation on the right is configured, also known as a filter.
Json tags are exported from the browser's favorites, parsed by Python, and imported into MySQL
The recently modified code is synchronized to the Linux side
Migrate part of the data on the windows side from sqlite to MySQL
A search box is configured to conduct a global search based on multi-field data
When adding a URL configuration, except for the URL link and title, the other data is generated dynamically
Some additional categories are configured to support more comprehensive information
The second step is the key and difficult, the process of parsing json is not smooth, there are a lot of details and their own ideas are very different, resulting in the process of parsing is full of difficulties. Because some of the original tags are confusing and the structure is very different, it is impossible to parse automatically at all. This part takes the most time.
It's a big step. Nearly 350 tags have been collected so far. If you want to search for some content, you can get some results entirely through this knowledge base.
In the future, plan to do a few things for continuous improvement:
If we collect the links to the articles on the official account, the direct order of magnitude is 1300 million, which is more than three times that of the existing one.
Later try to introduce full-text index, can search for the source of some articles according to keywords, this work is still considering how to refine.
To introduce articles collected by official accounts, this order of magnitude is estimated to be at least 500 million, and the way of collection is larger than that of official accounts.
Some important documents can be summed up and put into the knowledge base for centralized management.
The collection of personal work or knowledge points is currently in an application, but there will be different directories and link entries.
Support file upload and file download
Make regular backups of file data
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.