How To Use Chyrp’s Aggregator Module

Approximately 83% of Chyrp’s hotness comes from the fact that it can easily (eh) pull in content from RSS/Atom feeds and output them as posts. In fact, that’s what I do here at MTC to get Tweets, Delicious bookmarks, and Flickr images displayed as posts automatically.

The catch is that, as a result of Chyrp’s ripe young age, there’s very little documentation, so it can be a little bit of a hassle trying to get it working. I thought I’d post my settings here for anybody that’s trying to get one of those three really common feed types working. Here’s the relevant bit of /includes/config.yaml.php. Basically, just copy the “data” field into the data textarea of that aggregate type, and the rest should be self explanatory.

aggregates: 
  Twitter: 
    url: "http://twitter.com/statuses/user_timeline/18167889.rss"
    last_updated: 1250624528
    feather: "link"
    author: 1
    data: 
      name: "Tweet!"
      source: "link"
      description: "description"
  Delicious: 
    url: "http://feeds.delicious.com/v2/rss/MikeCrittenden?count=15"
    last_updated: 1250703556
    feather: "link"
    author: 1
    data: 
      name: "title"
      source: "link"
  Flickr: 
    url: "http://api.flickr.com/services/feeds/photos_public.gne?id=8494385@N05&lang=en-us&format=atom"
    last_updated: 1250391859
    feather: "photo"
    author: 1
    data: 
      filename: "call:upload_from_url(feed[link[2]].attr[href])"
      caption: "feed[title]"

Hope that helps! Comment if you’re still confused.

Posted 06:34 PM | 3 Comments

Comments (Feed)

  1. Pretty sweet stuff, thanks for the configs. The Flickr aggregate started to eat up my disk space by creating a duplicate image on every update, so I’ve deleted it for the time being.

    I’m still trying to figure out YouTube Favorites, though. I can’t seem to get the Video feather working.

    Eric Martindale on
  2. Thnx! Works like a charm … ;-)

    Herbert on
  3. @Herbert, just holler if you find any problems.

    Mike on

WTF?