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 five 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.
  • Added configuration option for Twitter hash tags

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

Share on Facebook   Share on Twitter

Leave a Response

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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

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 3 Sep 2010
    SPF enabled e-mails: 2.47%
    DKIM signed e-mails: 2.24%
    DKIM signed mails sent: 57

My Twitter feed

Archives



Valid XHTML 1.0 Transitional