In: , , ,
On: 2010 / 09 / 21 Viewed: 34913 times
Shorter URL for this post: http://ozh.in/tr

I've tried various plugins to backup my tweets into WordPress but none did really the job (actually most were doing much more stuff I didn't need, and most didn't keep track of the "in reply to" bits I wanted to have), so I made my own, which has powered my tweet archive for some time now.

The plugin is now available for anyone interested: Ozh' Tweet Archiver (along with my archive's theme if you need an example). Cheers!

Shorter URL

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

Metastuff

This entry "Backup and Archive Twitter To WordPress" was posted on 21/09/2010 at 11:27 pm and is tagged with , , ,
Watch this discussion : Comments RSS 2.0.

8 Blablas

  1. 1
    Yitzchok United States »
    thought, on 22/Sep/10 at 12:05 am # :

    Cool plugin, but when I tried it, it went and saved everything as posts (which I didn't realize it would do) and then my YOURLS: WordPress to Twitter plugin went and reposted everything to Twitter.
    Oops.
    Cleaned up now :)

  2. 2
    Ozh France »
    wrote, on 22/Sep/10 at 7:48 am # :

    Yitzchok » It usually helps to read the documentation before using a plugin…

  3. 3
    Yitzchok United States »
    commented, on 22/Sep/10 at 7:56 am # :

    Definitely does :)
    I just should have disabled the WordPress to Twitter plugin first…

  4. 4
    Samuel Spain »
    said, on 24/Sep/10 at 3:23 pm # :

    Thanks for sharing this Ozh ;)

    I found a problem when using hashtags with international characters. Example below:

    I have this tag created by this plugin in my WP Twitter archive http://www.samuelaguilera.com/tweets/?tag=m

    But it belongs to this hashtag #músicaparasuicidarse

    So it seems that the plugin stopped just before 'ú' character when creating the tag in WP resulting in an incomplete tag :(

    Would be nice if you can fix this ;)

  5. 5
    Ozh France »
    commented, on 24/Sep/10 at 4:00 pm # :

    Samuel » Yeah, I'm aware of this, had a couple hashtags break too (lol at yours, btw). The regexp to catch all is real tricky.

  6. 6
    Samuel Spain »
    commented, on 24/Sep/10 at 8:27 pm # :

    Yeah funny hashtag hehe :)

    I found a weird behaviour too…

    The hashtags section at sidebar is constructed only with equivalent WP tags while you see the tweets in WP.

    So at the beginning (just after importing) only a few hashtags were there (those showing in the home first page), and now there are much more because I was browsing the archive.

    But not only that, if you click to some hashtag (WP tag) it shows only the tweets that have been visited (by you or other people).

    So, I must visit every month archive through pages for constructing the hashtags at the sidebar… :-?

    Very very weird.

  7. 7
    Ozh France »
    said, on 24/Sep/10 at 8:49 pm # :

    Samuel » as explained here, the tags are actually generated when the post is viewed (I elected to do this to save lots of queries at importing time). So after first import, yes, you have to browse the archive (or give googlebot a few days to do it for you). After the initial import, bots and yourself will visit the site regularly so hashtags will be converted on the fly. So basically bot visits will both trigger the cron job and the hashtag importing.

  8. 8
    Samuel Spain »
    said, on 24/Sep/10 at 10:58 pm # :

    Sorry Ozh, I didn't see the FAQ :)

    It's ok, good point about the economize queries.

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 ?