In: , , ,
On: 2009 / 06 / 25 Viewed: 46277 times
Shorter URL for this post: http://ozh.in/m8

So, if I didn’t forget to upload a zip archive or to press a “Commit” button, it should be all here for you: the GPL’d URL shortener I wrote about earlier that Lester Chan and I have been using for a while now.

yourls-logoOur URL shortener service is called YOURLS, as in Your Own URL Shortener. It’s all GPL, free, do-what-you-want-with-it. Lester is running it on his own domain lc.sg, I’m running it on ozh.in, and it’s fun :)

A companion for YOURLS is a WordPress plugin (of course) that will generate short URLs for your posts when you publish them, and promote them on your Twitter account. You’ll like the plugin even if you’re not running your own YOURLS as it’s also designed to work with tr.im, bit.ly, is.gd and tinyurl.com for maximum fun.

Get YOURLS, then get the plugin: YOURLS: WordPress to Twitter

Related posts

Shorter URL

Want to share or tweet this post? Please use this short URL: http://ozh.in/m8

Metastuff

This entry "Introducing YOURLS (Your Own URL Shortener) and its WordPress Plugin Companion" was posted on 25/06/2009 at 10:56 pm and is tagged with , , ,
Watch this discussion : Comments RSS 2.0.

39 Blablas

    Pages: [4] 3 2 1 » Show All

  1. 39
    Ozh France »
    replied, on 21/Aug/09 at 4:59 pm # :

    Doug Stewart » Doh, that’s a stupid error indeed :) Thanks for report, I’ll update the plugin probably this week-end (I have a few stuff to throw in)

  2. 38
    Doug Stewart United States »
    thought, on 21/Aug/09 at 2:29 pm # :

    Yup, disabling Twitter Tools and a reload of the Edit Post page confirms that it’s a namespacing issue between TT and YOURLs.

    Help me, Ozh-y Wan Kenobi!

  3. 37
    Doug Stewart United States »
    said, on 21/Aug/09 at 2:26 pm # :

    Aha! Think I found the problem. With WP_DEBUG set to true, the following gets logged in the WP YOURLs Edit Post screen widget:

    CODE:
    1. Fatal error: Cannot redeclare class Services_JSON in (file path)/literalbarrage.org/blog/wp-content/plugins/yourls-wordpress-to-twitter/inc/pear_json.php on line 116

    I think it's a conflict with Alex King's Twitter Tools, although Intense Debate, Meet Your Commenters and Woopra all define it as well.

  4. 36
    brahm Canada »
    replied, on 20/Aug/09 at 8:52 pm # :

    @jarbro - thanks for the bookmarklet script! Works perfectly :)

  5. 35
    Doug Stewart United States »
    commented, on 20/Aug/09 at 4:40 am # :

    Gah, it ate my formatting.

    Here's another try:

    HTML:
    1. Short URL & Tweet

    /me crosses fingers.

  6. 34
    Doug Stewart United States »
    replied, on 20/Aug/09 at 4:39 am # :

    A "View Source" of the page shows output dying on the right-hand widget for the YOURLs plugin. This is the last output you get on the page:

    Short URL & Tweet

  7. 33
    Doug Stewart United States »
    replied, on 20/Aug/09 at 4:29 am # :

    Okay, just tried the same thing (with the same results) on Pages. New Page -- no problem. Edit Page -- problem.

    Also, I think the RTE behavior I was seeing was a red herring or a caching issue. The problem now occurs regardless of whether I have RTE on or off.

    Browsers are FF 3.5.2 and Camino 1.6.8 on OS X 10.5.8, btw. Haven't attempted Safari yet.

  8. 32
    Doug Stewart United States »
    replied, on 20/Aug/09 at 3:35 am # :

    Ozh:
    This occurs on Edit Post pages. I've not tried out Pages yet.

  9. 31
    Mohammad Mahmud Kabir Bangladesh »
    commented, on 20/Aug/09 at 2:28 am # :

    Thanks a lot for the bookmarklet....
    gazallions of thanks
    :D

    -Mahmud (Mohammad Mahmud Kabir)
    http://www.MahmudKabir.com
    Twitter: @mahmudkabir

Pages: [4] 3 2 1 » Show All

Leave a Reply

Comment Guidelines or Die

  • HTML: You can use these tags: <a href=""> <em> <i> <b> <strong> <blockquote>
  • Posting code: Post raw code (no <> &lt; etc) within appropriate tags : [php][/php], [css][/css], [html][/html], [js][/js], [sql][/sql], [xml][/xml], or generic [code][code]
  • Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar.
  • Spam: Various spam plugins on patrol. I'll put pins in a Voodoo doll if you spam me.
  • I will mark as Spam test comments, all comments with SEO names (ie "My Cool Online Shop" instead of "Joe") or containing forum-like signatures.

Read more ?

Close
E-mail It