[theme-reviewers] Can I have another theme to review?
Jon Cave
jon at lionsgoroar.co.uk
Sun Apr 10 09:32:23 UTC 2011
On Sun, Apr 10, 2011 at 10:20 AM, Andrew Nacin <wp at andrewnacin.com> wrote:
> I've closed the ticket and made some preliminary comments. Jon Cave has
> fully decoded it before I've had the chance to -- the end result is loading
> an external XML file to generate as many links as they want in the footer.
> Clever, and slimy as hell.
After doing all sorts of trickery, like reading itself, it finally
decodes itself to the following.
$rss = simplexml_load_file('http://example.com/paydayfooter/payday.xml');
$title = $rss->channel->title;
;echo '';
foreach ($rss->channel->item as $item) {
echo "<a href='".$item->link ."'>".$item->title ."</a> - ";
}
More information about the theme-reviewers
mailing list