Skip to content

Instantly share code, notes, and snippets.

@josephpconley
Last active August 29, 2015 14:13
Show Gist options
  • Save josephpconley/11a556fbecd20f159eb8 to your computer and use it in GitHub Desktop.
Save josephpconley/11a556fbecd20f159eb8 to your computer and use it in GitHub Desktop.
ws(get, http://www.avclub.com/tv/game-of-thrones-experts/).body;
xpath(this, //section[@class='article-list']).section;
tmpl(
<rss version="2.0">
<channel>
<title>AV Club Reviews for Game of Thrones (experts)</title>
<description>AV Club Reviews for Game of Thrones (experts)</description>
{{#article}}
<item>
<title>{{div.h1.title}}</title>
<link>http://avclub.com{{a.href}}</link>
<description>http://avclub.com{{a.href}}</description>
</item>
{{/article}}
</channel>
</rss>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment