Permalink
Browse files

now stating the files purpose in a header comment, and defining defau…

…lt url as the front doors sample entertainment url
  • Loading branch information...
1 parent 0163af1 commit 21ff639312e430bf0b4fec559ef4eef7fe3e9170 erik committed Nov 16, 2009
Showing with 7 additions and 1 deletion.
  1. +7 −1 entertainment.php
View
8 entertainment.php
@@ -1,7 +1,13 @@
<?php
+/**
+ * This is a template for rendering a feed described as "entertainment" in the
+ * "Yahoo! Developer's Guide for Feed Templates":
+ * http://public.yahoo.com/~jchu/StdFeedTemplate_TechnicalandDesignGuidance.doc
+ */
+
//config
-$feedUrl = 'http://news.discovery.com/rss/news/';
+$feedUrl = 'http://public.yahoo.com/~jchu/entertainment_feed_structure.xml';
//parse xml
$feed = simplexml_load_file($feedUrl);

0 comments on commit 21ff639

Please sign in to comment.