There is 1 plant in blossom on March the 13th.
Coltsfoot Tussilago farfara blossoms between Mar 15 and Apr 15 |
Toot-O-Matic with Java 2 v1.4.2_05 GreaseMonkey Userscripts - Really Valid? - Really Valid CSS? - Troll Blocker - Troll Blocker 2 - Troll Blocker 3 - No Pop-up Links phpBB2 Forum MODs - Easy Banned Ordering - Easy No BBcode Links - Block DNSBL Blacklisted Posting - Block DNSBL Blacklisted Posting - Black WordPress - Clean Options Plugin - Error Reporting Plugin - Ping Watcher Plugin - widgets.php Hack - 2.2 Classes and Functions - 2.3 Classes and Functions - 2.6 Classes and Functions - 2.7 Classes and Functions - 2.8 Classes and Functions - 2.9 Classes and Functions bbPress - 1.0 Constants, Classes and Functions - 1.0 Actions and Filters - 1.0 Actions and Filters (refined list) anti-SPAM - DShield's IP list If you are looking for a way to stop RSS feeds with a character encoding different than your WordPress blog's character encoding from causing validation errors, please see rss.php Hack 1
This hack stops feeds in the WordPress sidebar feed widgets that have different character encodings from causing non-valid mark-up. I say "hack" because this is NOT a plugin, but involves direct modification of the widgets.php file. If you try this, Please be Sure to Save a Back-up of the original file. Important* Note* This hack requires the iconv function. From the PHP documentation:
Also, if you are on a Windows or IBM server, or the results are not what you expect, Please read the documentation (actually, it's not a bad idea to read it anyway). Open the content/plugins/widgets/widgets.php file. In the widget_rss function find this section of code: //php tags needed for highlighter //............................. } else { $desc = str_replace(array("\n", "\r"), ' ', wp_specialchars(strip_tags(html_entity_decode($item['description'], ENT_QUOTES)), 1)); $summary = ''; } //............................. After the line with the closing curly brace add: //php tags needed for highlighter //............................. $feed_char_enc = $rss->feed_encoding; $board_char_enc = get_bloginfo('charset'); if($feed_char_enc != $board_char_enc) { $conv_link = iconv($feed_char_enc, "$board_char_enc//IGNORE", $link); $conv_desc = iconv($feed_char_enc, "$board_char_enc//IGNORE", $desc); $conv_title = iconv($feed_char_enc, "$board_char_enc//IGNORE", $title); $conv_summary = iconv($feed_char_enc, "$board_char_enc//IGNORE", $summary); $link = ($conv_link != FALSE) ? $conv_link : $link; $desc = ($conv_desc != FALSE) ? $conv_desc : $desc; $title = ($conv_title != FALSE) ? $conv_title : $title; $summary = ($conv_summary != FALSE) ? $conv_summary : $summary; } //............................. Which will now be before this line: //php tags needed for highlighter //............................. echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>$summary</li>"; //............................. Notice that for the "out charset" I appended the "//IGNORE" string. This removes any characters that can't be converted. This is not entirely desirable, but using the default will result in the converted strings being terminated at the last valid character. A third option is to append the string "//TRANSLIT" instead. You may want to try it, but I found that the converted strings still caused non-valid mark-up. | ||||||||
|
Wireless devices: |
|||||||||