#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Location
    Virginia Beach Virginia
    Posts
    11
    Rep Power
    0

    Question How to add CSS file, and XSL file to RSS feed....


    I am working on an ongoing project creating an RSS feed that requests that I use an external CSS file, as well as an external XSL file to format the feed.
    My question is this, I know how to attach an external file to an RSS feed to format it, but I am not clear on the syntax to include two externals??

    This is my feed:
    Code:
    <?xml version="1.0" encoding="UTF-8"?> 
    <?xml-stylesheet type="text/css" href="../../AppData/Local/week3/cssfile.css"?> 
    <rss version="2.0">  
    <channel>     
    <Title>Project Gutenberg</Title> 	    <link>http://www.gutenberg.org/</link>         <Description>	online reading / free ebooks</Description> 	 
    <item>     
    <title>Self Publishing </title> 	    
    <description>rss feed to self-published works</description>          
    <link>http://self.gutenberg.org/rss/authors.aspx</link>         <pubdate>01 May 2013</pubdate>        
    <lastbuilddate>14 July 2013</lastbuilddate> 	 
    </item>  
    <item>     
    <title>Available Books</title>     
    <description>search books available to read online</description>     
    <link>http://www.gutenberg.org/ebooks/</link>     <pubdate>05 July 2013</pubdate>     
    <lastbuilddate>14 July 2013</lastbuilddate> 	 
    </item>  
    <item>     
    <title>Donate</title>     
    <description>link to simplify making donations</description>     <link>http://www.gutenberg.org/wiki/Gutenberg:Project_Gutenberg_Needs_Your_Donation</link<<pubdate>03 July 2013</pubdate>     
    <lastbuilddate>14 July 2013</lastbuilddate> 	 
    </item>  
    <item>     
    <title>Reviews</title>     
    <description>Webmaster Reviews</description>     <link>http://www.gutenberg.org/wiki/Gutenberg:Kindle_Fire_Review</link>     
    <pubdate>03 July 2013</pubdate>     
    <lastbuilddate>14 July 2013</lastbuilddate> 	 
    </item>  
    <item>     
    <title>Gutenberg Wiki</title>     
    <description>provide useful information on Project Gutenberg</description>     
    <link>http://www.gutenberg.org/wiki/Gutenberg:The_Project_Gutenberg_Wiki</link>     <pubdate>03 July 2013</pubdate>     
    <lastbuilddate>14 July 2013</lastbuilddate> 
    </item> 
    </channel> 
    </rss>
    This includes the CSS file implemented, but I need to know what code I need to also attach the XSL file please??
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    876
    Rep Power
    275
    A little googling came up with THIS
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Location
    Virginia Beach Virginia
    Posts
    11
    Rep Power
    0

    Thumbs up


    Originally Posted by DonR
    A little googling came up with THIS
    Thanks!!

IMN logo majestic logo threadwatch logo seochat tools logo