html = '''
<!--
<!--" title="-->
<!--">-->
<!---->
<!-- -->
<p>The problem often encountered in collecting is the content layout problem. I spent some time writing a function that replaces html tags and styles with regular ones, and shared it.<br></p>
<p class="codetitle"><span><u>Copy the code The</u></span> code is as follows:</p>
<p class="codebody" id="code94529"><br>/** <br>* Format content <br>* @param string $content It’s better to use utf-8 encoding for the content <br>* @return string <br>*! This function needs to enable tidy extension <br>*/ <br>function removeFormat($content) { <br>$replaces = array ( <br>"/ /i” => ”, <br>“//i” => ”, <br>“/ <strong>/i” => ”, <br>“//i” => ”, <br>“/ <span>/i” => ”, <br>“//i” => ", <br>"/</span></strong></p>
<strong>
<div>
/i" => "
<p></p>
<p>", <br>"//i" => "</p>
<p>", <br>"/<!–*–>/i"=>", <br>/* "/</p>
<br>
<br>
<p></p>
<br>
<br>
<p></p>
<p></p>
<p>', <br>“//i” => '</p>
<p>', <br>"/</p>
/i” => ”,//Don’t enable “//i” => ”, “/ /i” => ”, “//i” => ”, “/ /i” when there is a table content => '
<table><tbody><tr><td>/i” => ”, */ <br>“/style=.+?['|\”]/i” => ”, <br>“/class=.+?['|\”]/i” => ”, <br>“ /id=.+?['|\”]/i”=>”, <br>“/lang=.+?['|\”]/i”=>”, <br>//”/width=.+?[' |\”]/i”=>”,//Not easy to control and comment out <br>//”/height=.+?['|\”]/i”=>”, <br>“/border=.+?['| \”]/I”=>”, <br>“/face=.+?['|\”]/i”=>”, <br>“/ <br>[]*/i” => “<p></p> <p>", <br>"/.*/i" => ", <br>"/ /i" => '',//Replace the space <br>"/</p> <p>[|\x{3000}|\r\n]*/ui” => '</p> <p> ',//Replace half-width, full-width spaces, line breaks, use to exclude encoding problems generated when writing to the database</p> <p>); <br>$config = array( <br>//'indent' => TRUE, //Whether to <br>indent'output-html' => TRUE,//Whether it is output xhtml'show <br>-body-only'=>TRUE,//Whether Only get the body'wrap <br>' => 0 <br>); <br>$content = tidy_repair_string($content, $config,'utf8');//First use the tidy library that comes with php to repair the html tags, otherwise it is easy to appear when replacing A weird situation <br>$content = trim($content); <br>foreach ($replaces as $k => $v) { <br>$content = preg_replace ($k, $v, $content ); <br>}</p> <p> if(strpos($content,'</p> <p>')>6)//Some content may be missing at the beginning</p> <p>Tag <br>$content = '</p> <p> '.$content;</p> <p>$content = tidy_repair_string($content, $config,'utf8');//Fix it again, you can remove the empty HTML tags <br>$content = trim($content); <br>return $content; <br>}</p>
<!-- .entry-content -->
<!-- <div id="mycontentbehind">-->
<!--</div>-->
<footer class="entry-footer flashwp-entry-bottom-block">
<span class="flashwp-tags-links"><i class="fa fa-tags" aria-hidden="true"></i>Tagged php , do , content , use , typesetting , regular , of , often , expression , solve , parse , encounter , collect , problem , problem is</span>
</footer>
<!-- .entry-footer -->
<div class="flashwp-author-bio flashwp-entry-bottom-block">
<div class="flashwp-author-bio-top">
<div class="flashwp-author-bio-gravatar"></div>
<div class="flashwp-author-bio-text">
<h4>Author:<span> Wang Di Nan Fei Yan</span></h4>
</div>
</div>
</div>
<nav class="navigation post-navigation" role="navigation" aria-label="article">
<h2 class="screen-reader-text">Article navigation</h2>
<div class="nav-links">
<div class="nav-previous">
← javascript simplified code common skills explained
</div>
<div class="nav-next">
Detailed analysis of node carrying es5/6 performance →
</div>
</div>
</nav>
<div id="comments" class="comments-area flashwp-box">
<div class="flashwp-box-inside">
<div id="respond" class="comment-respond">
<h3 id="reply-title" class="comment-reply-title">Comments <small>Cancel reply</small></h3>
<form action="http://www.ccnews.xyz/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate="">
<p class="comment-notes"><span id="email-notes">E-mail address will not be published.</span></p>
<p class="comment-form-comment"><label for="comment">comment</label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required=""></textarea></p>
<p class="comment-form-author"><label for="author">Name</label> <input id="author" name="author" value="" size="30" maxlength="245" type="text"></p>
<p class="comment-form-email"><label for="email">e-mail</label> <input id="email" name="email" value="" size="30" maxlength="100" aria-describedby="email-notes" type="email"></p>
<p class="comment-form-url"><label for="url">Site</label> <input id="url" name="url" value="" size="30" maxlength="200" type="url"></p>
<p class="form-submit"><input name="submit" id="submit" class="submit" value="Post a comment" type="submit"> <input name="comment_post_ID" value="344928" id="comment_post_ID" type="hidden"> <input name="comment_parent" id="comment_parent" value="0" type="hidden"> </p>
<p style="display: none;"><input id="akismet_comment_nonce" name="akismet_comment_nonce" value="de9736f798" type="hidden"></p>
<p style="display: none;"></p>
<input id="ak_js" name="ak_js" value="1607695602087" type="hidden"></form>
</div>
<!-- #respond -->
</div>
</div>
<!-- #comments -->
<div class="clear"></div>
<!--/#flashwp-posts-wrapper -->
<!-- /#flashwp-main-wrapper -->
<div class="flashwp-sidebar-one-wrapper flashwp-sidebar-widget-areas clearfix" id="flashwp-sidebar-one-wrapper" itemscope="" itemtype="http://schema.org/WPSideBar" role="complementary">
<div class="theiaStickySidebar">
<div class="flashwp-sidebar-one-wrapper-inside clearfix">
<div id="custom_html-4" class="widget_text flashwp-side-widget widget flashwp-box widget_custom_html">
<div class="widget_text flashwp-box-inside">
<div class="textwidget custom-html-widget"></div>
</div>
</div>
<div id="tag_cloud-2" class="flashwp-side-widget widget flashwp-box widget_tag_cloud">
<div class="flashwp-box-inside">
<h2 class="flashwp-widget-title"><span>Cloud tag</span></h2>
<div class="tagcloud">
(7,860 items)">/> <span class="tag-link-count">(7860)</span>
ajax <span class="tag-link-count">(2711)</span>
Apache <span class="tag-link-count">(2316)</span>
array <span class="tag-link-count">(3123)</span>
CSS <span class="tag-link-count">(3761)</span>
echo <span class="tag-link-count">(2195)</span>
function <span class="tag-link-count">(2103)</span>
HTML <span class="tag-link-count">(5035)</span>
http <span class="tag-link-count">(3264)</span>
java <span class="tag-link-count">(6875)</span>
JavaScript <span class="tag-link-count">(15131)</span>
jquery <span class="tag-link-count">(7126)</span>
JS <span class="tag-link-count">(6029)</span>
linux <span class="tag-link-count">(4287)</span>
lt <span class="tag-link-count">(4617)</span>
mysql <span class="tag-link-count">(19269)</span>
nbsp <span class="tag-link-count">(19559)</span>
oracle <span class="tag-link-count">(6591)</span>
php <span class="tag-link-count">(66964)</span>
quot <span class="tag-link-count">(8503)</span>
server <span class="tag-link-count">(2594)</span>
session <span class="tag-link-count">(2365)</span>
sql <span class="tag-link-count">(3953)</span>
thinkphp <span class="tag-link-count">(3255)</span>
a <span class="tag-link-count">( 3779)</span>
in <span class="tag-link-count">(3233)</span>
code <span class="tag-link-count">(4486)</span>
using <span class="tag-link-count">(5125)</span>
function <span class="tag-link-count">(4822)</span>
in <span class="tag-link-count">(3082)</span>
how to <span class="tag-link-count">(2409)</span>
string <span class="tag-link-count">(2117)</span>
installation <span class="tag-link-count">(2874)</span>
instance <span class="tag-link-count">(2251)</span>
implementation <span class="tag-link-count">(4079)</span>
data <span class="tag-link-count">(3800)</span>
database <span class="tag-link-count">(10653) )</span>
array <span class="tag-link-count">(2457)</span>
file <span class="tag-link-count">(4088)</span>
articles <span class="tag-link-count">(2206)</span>
method <span class="tag-link-count">(6215)</span>
was <span class="tag-link-count">(2309)</span>
the <span class="tag-link-count">(10508)</span>
Comments <span class="tag-link-count">(2379)</span>
issue <span class="tag-link-count">(2161)</span>
</div>
</div>
</div>
<div id="search-1" class="flashwp-side-widget widget flashwp-box widget_search">
<div class="flashwp-box-inside">
<form role="search" method="get" class="flashwp-search-form" action="http://www.ccnews.xyz/">
<label> <span class="screen-reader-text">Search for:</span> <input class="flashwp-search-field" placeholder="Search…" value="" name="s" type="search"> </label>
<input class="flashwp-search-submit" value="Search" type="submit">
</form>
</div>
</div>
<div id="recent-posts-1" class="flashwp-side-widget widget flashwp-box widget_recent_entries">
<div class="flashwp-box-inside">
<h2 class="flashwp-widget-title"><span>recent articles</span></h2>
<ul>
<li> Solution to the incomplete display of the detail page of WordPress theme articles </li>
<li> Use php's ob_start to generate static pages </li>
<li> Analysis of PHP's similar_text function </li>
<li> PHP language optimization and code optimization </li>
<li> No need for mod_rewrite to directly use php to implement pseudo-static pages </li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- /#flashwp-sidebar-one-wrapper-->
<!--/#flashwp-content-wrapper -->
<!--/#flashwp-wrapper -->
<div class="clearfix" id="flashwp-footer">
<div class="flashwp-foot-wrap flashwp-container">
<div class="flashwp-outer-wrapper">
<p class="flashwp-copyright">Copyright © 2020 IT Learning Garden</p>
<p class="flashwp-credit">Design by www.csdn1.com</p>
<ol id="moreArticle" style="display: none;">
<li> Data display in MVC mode: EasyUI's datagrid <span>My database design is a teacher table, a student table student, a teacher corresponds to multiple students, and a foreign key is established on the student side; there is another point to be clear and need to be displayed What is the basis of the data, is it the id of the user who successfully logged in? Or directly show all the students? Student table teacher table: "……"</span> </li>
<li> Computed works Vue.js in <span>this article, we have the same function capabilities by implementing a simple version of the Vue and the computed to understand how computed works. Friends who are interested in the working principle of computed in Vue.js, let’s learn JS properties: JavaScript has a feature called Object.definePropert "……"</span> </li>
<li> HBase problems encountered in recording <span>the current NoSQL products the most criticized is its stability, have to admit that currently do away HBase database (data lost serious problem, can not read and write, DDL failure, etc.) as well as from the high stability , This blog will be used to record the problems we encountered in the operation and maintenance of HBase (will continue to be updated), hope "..."</span> </li>
</ol>
<!--随机文章结束 -->
</div>
</div>
</div>
<!--/#flashwp-footer --> <button style="display: none;" class="flashwp-scroll-top" title="Scroll to Top"><span class="fa fa-arrow-up" aria-hidden="true"></span><span class="screen-reader-text"></span></button> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/jquery.fitvids.min.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/ResizeSensor.min.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/theia-sticky-sidebar.min.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-includes/js/imagesloaded.min.js?ver=3.2.0"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/owl.carousel.min.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/navigation.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/skip-link-focus-fix.js"></script> <script type="text/javascript">
/* <![CDATA[ */
var flashwp_ajax_object = {"ajaxurl":"http:\/\/www.ccnews.xyz\/wp-admin\/admin-ajax.php","primary_menu_active":"1","secondary_menu_active":"1","sticky_menu":"1","sticky_menu_mobile":"","sticky_sidebar":"1","slider":"1"};
/* ]]> */
</script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/custom.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-includes/js/comment-reply.min.js?ver=5.4.4"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-includes/js/wp-embed.min.js?ver=5.4.4"></script> <script async="" type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/plugins/akismet/_inc/form.js?ver=4.1.5"></script> </td>
</tr>
</tbody>
</table>
</div></strong>
'''
print(len(html))
出错
在字符串前面加上r
html = r'''
<!--
<!--" title="-->
<!--">-->
<!---->
<!-- -->
<p>The problem often encountered in collecting is the content layout problem. I spent some time writing a function that replaces html tags and styles with regular ones, and shared it.<br></p>
<p class="codetitle"><span><u>Copy the code The</u></span> code is as follows:</p>
<p class="codebody" id="code94529"><br>/** <br>* Format content <br>* @param string $content It’s better to use utf-8 encoding for the content <br>* @return string <br>*! This function needs to enable tidy extension <br>*/ <br>function removeFormat($content) { <br>$replaces = array ( <br>"/ /i” => ”, <br>“//i” => ”, <br>“/ <strong>/i” => ”, <br>“//i” => ”, <br>“/ <span>/i” => ”, <br>“//i” => ", <br>"/</span></strong></p>
<strong>
<div>
/i" => "
<p></p>
<p>", <br>"//i" => "</p>
<p>", <br>"/<!–*–>/i"=>", <br>/* "/</p>
<br>
<br>
<p></p>
<br>
<br>
<p></p>
<p></p>
<p>', <br>“//i” => '</p>
<p>', <br>"/</p>
/i” => ”,//Don’t enable “//i” => ”, “/ /i” => ”, “//i” => ”, “/ /i” when there is a table content => '
<table><tbody><tr><td>/i” => ”, */ <br>“/style=.+?['|\”]/i” => ”, <br>“/class=.+?['|\”]/i” => ”, <br>“ /id=.+?['|\”]/i”=>”, <br>“/lang=.+?['|\”]/i”=>”, <br>//”/width=.+?[' |\”]/i”=>”,//Not easy to control and comment out <br>//”/height=.+?['|\”]/i”=>”, <br>“/border=.+?['| \”]/I”=>”, <br>“/face=.+?['|\”]/i”=>”, <br>“/ <br>[]*/i” => “<p></p> <p>", <br>"/.*/i" => ", <br>"/ /i" => '',//Replace the space <br>"/</p> <p>[|\x{3000}|\r\n]*/ui” => '</p> <p> ',//Replace half-width, full-width spaces, line breaks, use to exclude encoding problems generated when writing to the database</p> <p>); <br>$config = array( <br>//'indent' => TRUE, //Whether to <br>indent'output-html' => TRUE,//Whether it is output xhtml'show <br>-body-only'=>TRUE,//Whether Only get the body'wrap <br>' => 0 <br>); <br>$content = tidy_repair_string($content, $config,'utf8');//First use the tidy library that comes with php to repair the html tags, otherwise it is easy to appear when replacing A weird situation <br>$content = trim($content); <br>foreach ($replaces as $k => $v) { <br>$content = preg_replace ($k, $v, $content ); <br>}</p> <p> if(strpos($content,'</p> <p>')>6)//Some content may be missing at the beginning</p> <p>Tag <br>$content = '</p> <p> '.$content;</p> <p>$content = tidy_repair_string($content, $config,'utf8');//Fix it again, you can remove the empty HTML tags <br>$content = trim($content); <br>return $content; <br>}</p>
<!-- .entry-content -->
<!-- <div id="mycontentbehind">-->
<!--</div>-->
<footer class="entry-footer flashwp-entry-bottom-block">
<span class="flashwp-tags-links"><i class="fa fa-tags" aria-hidden="true"></i>Tagged php , do , content , use , typesetting , regular , of , often , expression , solve , parse , encounter , collect , problem , problem is</span>
</footer>
<!-- .entry-footer -->
<div class="flashwp-author-bio flashwp-entry-bottom-block">
<div class="flashwp-author-bio-top">
<div class="flashwp-author-bio-gravatar"></div>
<div class="flashwp-author-bio-text">
<h4>Author:<span> Wang Di Nan Fei Yan</span></h4>
</div>
</div>
</div>
<nav class="navigation post-navigation" role="navigation" aria-label="article">
<h2 class="screen-reader-text">Article navigation</h2>
<div class="nav-links">
<div class="nav-previous">
← javascript simplified code common skills explained
</div>
<div class="nav-next">
Detailed analysis of node carrying es5/6 performance →
</div>
</div>
</nav>
<div id="comments" class="comments-area flashwp-box">
<div class="flashwp-box-inside">
<div id="respond" class="comment-respond">
<h3 id="reply-title" class="comment-reply-title">Comments <small>Cancel reply</small></h3>
<form action="http://www.ccnews.xyz/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate="">
<p class="comment-notes"><span id="email-notes">E-mail address will not be published.</span></p>
<p class="comment-form-comment"><label for="comment">comment</label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required=""></textarea></p>
<p class="comment-form-author"><label for="author">Name</label> <input id="author" name="author" value="" size="30" maxlength="245" type="text"></p>
<p class="comment-form-email"><label for="email">e-mail</label> <input id="email" name="email" value="" size="30" maxlength="100" aria-describedby="email-notes" type="email"></p>
<p class="comment-form-url"><label for="url">Site</label> <input id="url" name="url" value="" size="30" maxlength="200" type="url"></p>
<p class="form-submit"><input name="submit" id="submit" class="submit" value="Post a comment" type="submit"> <input name="comment_post_ID" value="344928" id="comment_post_ID" type="hidden"> <input name="comment_parent" id="comment_parent" value="0" type="hidden"> </p>
<p style="display: none;"><input id="akismet_comment_nonce" name="akismet_comment_nonce" value="de9736f798" type="hidden"></p>
<p style="display: none;"></p>
<input id="ak_js" name="ak_js" value="1607695602087" type="hidden"></form>
</div>
<!-- #respond -->
</div>
</div>
<!-- #comments -->
<div class="clear"></div>
<!--/#flashwp-posts-wrapper -->
<!-- /#flashwp-main-wrapper -->
<div class="flashwp-sidebar-one-wrapper flashwp-sidebar-widget-areas clearfix" id="flashwp-sidebar-one-wrapper" itemscope="" itemtype="http://schema.org/WPSideBar" role="complementary">
<div class="theiaStickySidebar">
<div class="flashwp-sidebar-one-wrapper-inside clearfix">
<div id="custom_html-4" class="widget_text flashwp-side-widget widget flashwp-box widget_custom_html">
<div class="widget_text flashwp-box-inside">
<div class="textwidget custom-html-widget"></div>
</div>
</div>
<div id="tag_cloud-2" class="flashwp-side-widget widget flashwp-box widget_tag_cloud">
<div class="flashwp-box-inside">
<h2 class="flashwp-widget-title"><span>Cloud tag</span></h2>
<div class="tagcloud">
(7,860 items)">/> <span class="tag-link-count">(7860)</span>
ajax <span class="tag-link-count">(2711)</span>
Apache <span class="tag-link-count">(2316)</span>
array <span class="tag-link-count">(3123)</span>
CSS <span class="tag-link-count">(3761)</span>
echo <span class="tag-link-count">(2195)</span>
function <span class="tag-link-count">(2103)</span>
HTML <span class="tag-link-count">(5035)</span>
http <span class="tag-link-count">(3264)</span>
java <span class="tag-link-count">(6875)</span>
JavaScript <span class="tag-link-count">(15131)</span>
jquery <span class="tag-link-count">(7126)</span>
JS <span class="tag-link-count">(6029)</span>
linux <span class="tag-link-count">(4287)</span>
lt <span class="tag-link-count">(4617)</span>
mysql <span class="tag-link-count">(19269)</span>
nbsp <span class="tag-link-count">(19559)</span>
oracle <span class="tag-link-count">(6591)</span>
php <span class="tag-link-count">(66964)</span>
quot <span class="tag-link-count">(8503)</span>
server <span class="tag-link-count">(2594)</span>
session <span class="tag-link-count">(2365)</span>
sql <span class="tag-link-count">(3953)</span>
thinkphp <span class="tag-link-count">(3255)</span>
a <span class="tag-link-count">( 3779)</span>
in <span class="tag-link-count">(3233)</span>
code <span class="tag-link-count">(4486)</span>
using <span class="tag-link-count">(5125)</span>
function <span class="tag-link-count">(4822)</span>
in <span class="tag-link-count">(3082)</span>
how to <span class="tag-link-count">(2409)</span>
string <span class="tag-link-count">(2117)</span>
installation <span class="tag-link-count">(2874)</span>
instance <span class="tag-link-count">(2251)</span>
implementation <span class="tag-link-count">(4079)</span>
data <span class="tag-link-count">(3800)</span>
database <span class="tag-link-count">(10653) )</span>
array <span class="tag-link-count">(2457)</span>
file <span class="tag-link-count">(4088)</span>
articles <span class="tag-link-count">(2206)</span>
method <span class="tag-link-count">(6215)</span>
was <span class="tag-link-count">(2309)</span>
the <span class="tag-link-count">(10508)</span>
Comments <span class="tag-link-count">(2379)</span>
issue <span class="tag-link-count">(2161)</span>
</div>
</div>
</div>
<div id="search-1" class="flashwp-side-widget widget flashwp-box widget_search">
<div class="flashwp-box-inside">
<form role="search" method="get" class="flashwp-search-form" action="http://www.ccnews.xyz/">
<label> <span class="screen-reader-text">Search for:</span> <input class="flashwp-search-field" placeholder="Search…" value="" name="s" type="search"> </label>
<input class="flashwp-search-submit" value="Search" type="submit">
</form>
</div>
</div>
<div id="recent-posts-1" class="flashwp-side-widget widget flashwp-box widget_recent_entries">
<div class="flashwp-box-inside">
<h2 class="flashwp-widget-title"><span>recent articles</span></h2>
<ul>
<li> Solution to the incomplete display of the detail page of WordPress theme articles </li>
<li> Use php's ob_start to generate static pages </li>
<li> Analysis of PHP's similar_text function </li>
<li> PHP language optimization and code optimization </li>
<li> No need for mod_rewrite to directly use php to implement pseudo-static pages </li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- /#flashwp-sidebar-one-wrapper-->
<!--/#flashwp-content-wrapper -->
<!--/#flashwp-wrapper -->
<div class="clearfix" id="flashwp-footer">
<div class="flashwp-foot-wrap flashwp-container">
<div class="flashwp-outer-wrapper">
<p class="flashwp-copyright">Copyright © 2020 IT Learning Garden</p>
<p class="flashwp-credit">Design by www.csdn1.com</p>
<ol id="moreArticle" style="display: none;">
<li> Data display in MVC mode: EasyUI's datagrid <span>My database design is a teacher table, a student table student, a teacher corresponds to multiple students, and a foreign key is established on the student side; there is another point to be clear and need to be displayed What is the basis of the data, is it the id of the user who successfully logged in? Or directly show all the students? Student table teacher table: "……"</span> </li>
<li> Computed works Vue.js in <span>this article, we have the same function capabilities by implementing a simple version of the Vue and the computed to understand how computed works. Friends who are interested in the working principle of computed in Vue.js, let’s learn JS properties: JavaScript has a feature called Object.definePropert "……"</span> </li>
<li> HBase problems encountered in recording <span>the current NoSQL products the most criticized is its stability, have to admit that currently do away HBase database (data lost serious problem, can not read and write, DDL failure, etc.) as well as from the high stability , This blog will be used to record the problems we encountered in the operation and maintenance of HBase (will continue to be updated), hope "..."</span> </li>
</ol>
<!--随机文章结束 -->
</div>
</div>
</div>
<!--/#flashwp-footer --> <button style="display: none;" class="flashwp-scroll-top" title="Scroll to Top"><span class="fa fa-arrow-up" aria-hidden="true"></span><span class="screen-reader-text"></span></button> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/jquery.fitvids.min.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/ResizeSensor.min.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/theia-sticky-sidebar.min.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-includes/js/imagesloaded.min.js?ver=3.2.0"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/owl.carousel.min.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/navigation.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/skip-link-focus-fix.js"></script> <script type="text/javascript">
/* <![CDATA[ */
var flashwp_ajax_object = {"ajaxurl":"http:\/\/www.ccnews.xyz\/wp-admin\/admin-ajax.php","primary_menu_active":"1","secondary_menu_active":"1","sticky_menu":"1","sticky_menu_mobile":"","sticky_sidebar":"1","slider":"1"};
/* ]]> */
</script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/themes/mytheme2/assets/js/custom.js"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-includes/js/comment-reply.min.js?ver=5.4.4"></script> <script type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-includes/js/wp-embed.min.js?ver=5.4.4"></script> <script async="" type="text/javascript" src="https://otxl6znxf7rnmsbtfmxqa4s4aa-adwhj77lcyoafdy-www-ccnews-xyz.translate.goog/wp-content/plugins/akismet/_inc/form.js?ver=4.1.5"></script> </td>
</tr>
</tbody>
</table>
</div></strong>
'''
print(len(html))
输出 17513