Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-01-06 06:50:40

matthijs
Member
Registered: 2008-12-15
Posts: 32

Show stream of articles and tweets

For a weblog I want to integrate a twitter stream with the normal textpattern articles/posts. I already use simplepie and a bit of php to show a list of the latest tweets, separately next to the list of latest posts.

However, is there a way to show a list of both articles and tweets? So whenever something is posted either in twitter or textpattern, it shows up in the same list. I have looked at all the existing plugins but none of them seem to support this specific feature.

If there is no existing extension, what would your strategy be in coding something like this?

Offline

#2 2011-01-06 13:02:02

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Show stream of articles and tweets

  1. Feed items become TXP objects: You can import items from one or multiple feeds as TXP articles. The plug-in I use is asv_tumblelog.
  2. Feed items are only shown, not stored in TXP database: You can use an RSS parser capable of parsing/showing multiple feeds, including your site feed. You should test the plug-in aks_rss.
  3. Reblogging: Search the web for a ‘reblogging from feed(s)’ solution to post articles to TXP via XML-RPC.

Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#3 2011-01-06 17:09:53

matthijs
Member
Registered: 2008-12-15
Posts: 32

Re: Show stream of articles and tweets

Great suggestions, thanks! I will look into each of them.

Offline

#4 2011-01-06 22:36:43

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Show stream of articles and tweets

I already use simplepie and a bit of php to show a list of the latest tweets, separately next to the list of latest posts.

If you know how to do it you can of course use generic SimplePie to show multiple feeds (your site + your Twitter feed) mixed and sorted by publishing date. That’s so obvious that I didn’t mention this solution in my first comment :)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#5 2011-01-07 20:58:39

matthijs
Member
Registered: 2008-12-15
Posts: 32

Re: Show stream of articles and tweets

Yes, indeed that’s another possibility. I’ll look into that as well. Thanks.

Offline

Board footer

Powered by FluxBB