[[ UPDATE : A while ago – Twitter changed the way it deals with RSS, thereby breaking the technique below… ]]
(( For possible solutions, try this labnol work-around (video explanation)
or try this discussion over at the Inklen / Serato QC forums... ))
As part of doing live video for a event a few months ago, I was asked about displaying a live twitter feed for it.
“I can probably take care of that.” Which meant…
QUARTZ COMPOSER WRESTLING
The basic RSS patch that comes with Quartz Composer…
(Entering the skynoise RSS feed URL into the patch on the left, generates the output in the viewer on the right.)
Although Twitter doesn’t offer up RSS feeds, it turns out they can be generated by using the following URL
and replacing the word hashtag with your word of choice eg
Which means – this URL can be used to populate your Quartz patch, with any tweets published by people using that hashtag.
So I edited that quartz composer file, so each tweet was composited the way I wanted, in a 16:9 image, and details like date etc were turned off.
(Uploaded here: http://skynoise.net/qtz/RSS_twitter-test2.qtz.zip )
The Quartz patch didn’t seem to continually update from the twitter RSS feed – but starts to cycle back through older tweets in a loop after a while… ( like 10-15 tweets ? ) + couldn’t figure out how to display author, alongside the text … Tried looking through the RSS info to find author parameters, then see where these might be adjusted within the quartz patch, no dice.
I posted a description of the problem to pastebin and asked on twitter.. and @lumabeamerz kindly wrote back *and* adjusted the quartz patch, noting…
“If you put your mouse pointer for a moment to a structure’s output, you will see what is “flowing”, like this:
So, 0-4 are indexes, “…” are keys. Basically, we need the member of key “authors”, which will give use an other structure. The index 0 member of structure is good for us, and give us an other structure. From the last structure, we can extract the name with the key “name”. It is simple if you are a programmer, since the method is same in the Obj-C land to access structures. For the updating, I connected a Signal patch to the RSS patch’s update signal input, so it actually refreshes in a 60sec. period.”
Here’s the final quartz patch, edited by @lumabeamerz – which continuously updates any tweets from a particular hashtag, and displays author name alongside. Maybe it’s a useful template for you to modify however you wish?
And below, the patch inside VDMX:
(See above: when triggered from a VDMX media bin, the quartz patch, gives an option for writing in your preferred hashtag. If you want to add more controls, such as changing the colour, size or position of text – you can publish the relevant parameters in quartz, so they become available for use inside VDMX. )
For more industrial options – see the *spark screenrunner
Recently Gathered Quartz Composer links: