PHP Suit - Drupal https://www.php-suit.com/taxonomy/term/70/0 en BlogAPI Drupal filter https://www.php-suit.com/blogapi-drupal-filter <p>Using blog clients such as <a href="http://www.codingrobots.com/blogjet/">BlogJet</a> or Windows Live Writer with Drupal can produce some unwanted things, such as ignoring the perex/article break or curious formatting. There is very simple module to solve.</p> <p>Someone says at <a href="http://drupal.org/">Drupal pages</a>:<br /> <cite>(&hellip;) WLW's "split post" feature, which is available when using the Movable Type API but not with the Metaweblog API, does not produce the &lt;!--break--&gt; tags that Drupal expects. Instead it produces &lt;!--pagebreak--&gt; sometimes and &lt;!--extended--&gt; other times, despite the fact that before posting, the HTML source within WLW shows &lt;!--more--&gt;. Supporting all of these possible page-breaking tags in Drupal would require hacking the core.</cite><br /> <a href="http://drupal.org/node/295">BlogApi: post from blog tools | drupal.org</a><br /> I&rsquo;ve extended the module from this discussion and rewrite it for Drupal 5 too. Updated module can convert P and BR tags to NL.<br /> You can download it here:</p> <div class="tablewrapper"><table class="webfm-attach-list" class="tableclass"> <thead><tr><th>Attachment</th><th>Date</th><th>Size</th> </tr></thead> <tbody> <tr class="odd"><td class="att-title"><a href="/webfm_send/8/1" title="Download blogapi_break_converter_5.zip" target="_blank"><img src="https://www.php-suit.com/modules/webfm/image/icon/zip.gif" alt="[file]" title="Download blogapi_break_converter_5.zip"/> </a><a href="/webfm_send/8" title="Open blogapi_break_converter_5.zip" target="_blank">blogapi_break_converter_5.zip</a></td><td class="att-time">14/12/08 9:20 am</td><td class="att-size">884 bytes</td> </tr> <tr class="even"><td class="att-title"><a href="/webfm_send/9/1" title="Download blogapi_break_converter.zip" target="_blank"><img src="https://www.php-suit.com/modules/webfm/image/icon/zip.gif" alt="[file]" title="Download blogapi_break_converter.zip"/> </a><a href="/webfm_send/9" title="Open blogapi_break_converter.zip" target="_blank">blogapi_break_converter.zip</a></td><td class="att-time">14/12/08 9:18 am</td><td class="att-size">892 bytes</td> </tr> </tbody></table> </div> https://www.php-suit.com/blogapi-drupal-filter#comments Blog BlogJet Drupal How To... Useful scripts Sun, 14 Dec 2008 16:18:03 +0000 admin 45 at https://www.php-suit.com