Hellotxt plugin update for Wordpress

19 November 2009  |  Published in Software

This morning, I fixed an annoyance in the Hellotxt plugin I use on this WordPress blog that would resend a notification to hellotxt.com every time one updates a post (to correct a typo for example).

I sent a tweet about this and, much to my surprise, I immediately received a series of direct messages on Twitter asking for the code. So here it is:  hellotxt.php.txt , as well as the diff to the original file: hellotxtpress.php.diff

There are actually four changes:

  • Added configuration option for URL shortener, so you can use your favourite URL shortener service. It defaults to mine.
  • Added configuration option for post prefix. By default, it is “New Blog post: “
  • Replace WP smart quotes by plain ones.  This is to prevent that some microblogging sites print out the HTML entities value, instead of the quotes themselves. Copied straight from WP Laconica Tools.
  • Don’t resend a post that was already submitted.  The inspiration came from the WP Laconica Tools.

I will submit my changes to the plugin author, who may decide to incorporate them in a future release.

Leave a Response

You're just using IPv4. Your address is 38.107.191.93.

Disclaimer

This site does not reflect the views of my employer, nor that of the Internet Society or its Luxembourg chapter

SPF and DKIM adoption rate

  • E-mails reaching this server on 11 Mar 2010
    SPF enabled e-mails: 3.31%
    DKIM signed e-mails: 3.23%
    DKIM signed mails sent: 41

My Twitter feed

Meta

  • RSS 2.0 feed
  • RSS 0.91feed
  • Atom feed

Archives



Valid XHTML 1.0 Transitional