Skip to content

Instantly share code, notes, and snippets.

@zaigham
Created November 18, 2011 18:53
Show Gist options
  • Save zaigham/1377387 to your computer and use it in GitHub Desktop.
Save zaigham/1377387 to your computer and use it in GitHub Desktop.
My Journey to Learn SIMPLX Widgeteer
<h2>Something should show up down there</h2>
[[!simplx_widgeteer?
&dataSetUrl=`http://modxclub.com/rss-feed`
&useChunkMatching=`true`
&preprocessor=`widgeteer_preprocessor_xml2json`
&chunkPrefix=`modx.feed.tpl_`
]]
<hr/>
## modx.feed.tpl_item
<p> - [[+item.title]]</p>
http://modxclub.com/widgeteer
@larscwallin
Copy link

Well, theres something fishy going on for sure... It works fine if i save the feed in a chunk and use that. Let me see whats up and fix it :)

@larscwallin
Copy link

Here you go :)

https://gist.github.com/1372956

Download the xml2json.php and the new widgeteer 0.8.2 and all the templates called modx.feed.*

@zaigham
Copy link
Author

zaigham commented Nov 20, 2011

Oh wow, it worked! :D

BTW the templating reminds me of using FeedX in MODX Evo long ago. http://www.stanback.net/code/modx/feedx.html

Thanks a lot for the Widgeteer. I will experiment more and will let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment