In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Today I will show you how to analyze Blog Updated instances. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.
Recently, it was found that BLOG's article looked laborious, and it was found that it was because there was no indentation in the first line and blank lines in paragraphs. And then start looking for a solution. After reading the source code of pjblog and some scattered statements on the Internet, I found the corresponding file classcls_article.asp that shows the article. This file also has several containing files, which have been checked for a long time but have not found the true meaning. The ASP page is really troublesome, so we have to find some places to output some values for debugging. Then I tried for a long time, but it all failed. Later, I thought of changing the database, because pjblog supports both UBB and FCK editing methods, so simply think about changing the part of UBB to
That's right, the result was greatly disappointed, and the log output was all messed up. Before dinner, I found that there was a trick in ubbcode.asp and decided to hit it. After many attempts, add the following sentence before the function returns:
'paragraph / / By hesicongstrContent=Replace (strContent, ") UBBCode=strContent
The problem of converting line breaks into\ nfrom UBB is solved, and now the page is full of
This will make it easier to indent the first line. Then change the layout.css file corresponding to the theme and add "text-indent:2em;". In the end, it feels basically right, of course, rough replacement marks may bring some problems, and now you can't change lines casually when writing articles, otherwise it will be more difficult to read.
The above is how to analyze the full content of Blog Updated instances, more content related to how to analyze Blog Updated instances can search the previous articles or browse the following articles to learn ha! I believe the editor will add more knowledge to you. I hope you can support it!
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.