Good design is all about making other designers feel like idiots because that idea wasn’t theirs.

— Frank Chimero

40 Free and Useful eBooks for Developers and Designers

Showcase of a collection of some-more than 40 Free e-books for Developers and Designers

ϑ December 12, 2011

Using Chyrp's Aggregate Module

Chyrp’s Aggregate Module is über-awesome!
Here’s how easily you could pull say your Twitter Feed in Chyrp.

Navigate to Extend and Enable Aggregator Module, go to Manage > Aggregates, click Add Aggregate.
Fields should be filled accordingly, here’s a preview of my Twitter Feed.

Chyrp Add Aggregate

Let me explain what each field is about.

  • Name – name of your feed for you to distinguish.
  • Source URL – the ATOM or RSS URL of the feed to fetch.
  • Feather – type of post to create.
  • Author – you know, normally it’s you.
  • Post Attributes – there’s only so much things you can do here and it’s relevant to the chosen Feather. In this case, the Quote Feather has two attributes; source and quote. My Twitter username is on the first, and the content of my tweet as the quote itself. Note the “call:substr(feed[title] || 13)” is the parts I want to trim, because the feed[title] returns the tweet together with the username. So you can cut that part out. Number 13 is the length of the username, and it should have been 14 in order to hide the ‘:’ but it is so for the sake of the argument.

Once that is filled in, hit Add Aggregate and new posts of type Quote should be created having your tweets as content.

The feed settings would normally be set in config.yaml.php like so:

aggregates: 
  Twitter: 
    url: "http://twitter.com/statuses/user_timeline/18228003.rss"
    last_updated: 1323557875
    feather: "quote"
    author: 1
    data: 
      source: "[arianxhezairi](http://twitter.com/#!/arianxhezairi)"
      quote: "call:substr(feed[title] || 13)"

That should normally do the work. Happy aggregating!
Let me know if you can’t work it out, I’m always glad to help.

Jeffrey Zeldman to Paul Irish

I tell you what! Beside being too professional and smart, seems there’s a true humane part in there.

Move the Web Forward

You can make the web as awesome as you want it to be.

[From an e-mail]

I had originally intended on spending a lot more time on this, but as ever perfection is the enemy of good enough, so will just cut to the chase and reiterate the main points I made last week. I’m finding it infuriating trying to get this out cohesively, so please feel free to flag stuff for more discussion. In particular I’m going to try ignoring speculation and “gut feelings”, or suggestions for […], there’s just too much to explain.

Every feature has some maintenance costs, and having fewer features lets us focus on the ones we care about and make sure they work well.

← Previous Page 2 of 12 Next →