RSS Feed Style Sheets:
Styling RSS Feed To HTML or JavaScript



Use RSS Feed style sheets to enhance RSS Feed to HTML or JavaScript. Choose variety of style sheets for RSS feeds.(Continue reading below...)





Once you have built the code for your Feed2JS, you can see how the output of RSS content generated by Feed2JS can be customized by applying different style sheets. Each part of the feed has an identifier, allowing you to add styles to the box containing the feeds, the title, the item display, and the date posting text. A few sample styles are provided here; for more see the Feed2JS Style Center.

Try on a Style Sheet


URL Enter the web address for the RSS Feed to "stylize"; if you do not have one handy, you can use the one below from this Site.


Style Selector
These are but a few style varieties to sample- you are invited to modify or create your own. If you have a snazzy, prettier version, please send it our way. For a blank slate, select the "none/template" style.

Using a Style Sheet


You will need to incorporate the CSS code or linkage in your own HTML files; there are two ways you can do this:


  1. Insert the CSS directly into the HTML for the page that will display the feed. This methods is best for sites that only are displaying the feed on one or a few pages. Use the form below to find the style you desire, copy the CSS, and paste it somewhere into the <HEAD>...</HEAD> of your HTML file that contains the Feed2JS code, surrounded by the <style>...</style> tags shown below.
    <style type="text/css"  media="all">
    
    
    <!--this is where you paste the CSS
    provided by the form below-->
    </style>

  2. Link to an external style sheet. This method is best if you will be using the feeds on multiple pages, as the CSS is stored externally, and thus allows you to change the output display of many pages by editing a single file. Just copy the CSS provided by the form below, and paste it into a new text file. Save it as something called "myfeed.css". Think smart about where you decided to store this file, as other HTML pages that call it need to define a correct path to the file. Many web sites just create a top level directory named style and store all style sheet files in this directory.

    Regardless, to connect the HTML file that contains the Feed2JS code to an external style sheet, insert this line into the <HEAD>...</HEAD> of your HTML.
    <link rel="stylesheet" href="style/myfeed.css" media="all">
    
    Remember again that the value of href= must be a correct relative path (or a full valid URL such as http://www.blah.com/style/myfeed.css) from the HTML file to the CSS file.

CSS classes



This sketch represents the CSS classes created by Feed2JS.


  • rss-box defines the bounding div for the entire display- use to define borders, fill, etc.
  • rss-title the title of the feed and link style if displayed. Use with variants of rss-title a:link, rss-title a:hover, etc for rollowver styles
  • rss-items defines the unordered list <ul>...</ul> for the feed items- use to define the padding/margins for items.
  • rss-item display of each feed item description and title, <li>...</li> as well as the channel description, if displayed.
  • rss-item a: variant for the item title and link style
  • rss-date defines the display of item posting dates

For any RSS 2.0 feeds with podcast enclosures, Feed2JS will provide a Play XXX link, where "XXX" is the extension of the media file, e.g. "mp3", "m4a", etc. The styles applied are modeled after Well Styled's Inline Buttons method. <div class="pod-play-box"> <a class="pod-play" href="podcastURL"><em>Play</em><span> File</span></a> </div>

Custom colors may be achieved by editing appropriate foreground and background colors from the base styles (emphasized below):

.pod-play {
   _width:12em;
   margin: 0 0.2em; padding: 0.1em 0; _padding:0;
   
   white-space:nowrap;
   text-decoration: none;
   vertical-align:middle;
   background: #fb6;
   color: black;
   }
.pod-play em {
   _width:1em; _cursor:hand;
   font-style: normal;
   margin:0; padding: 0.1em 0.5em;
   background: white;
   color: #222;  
   }
.pod-play span {
   _width:1em; _cursor:hand;
   margin:0; padding: 0.1em 0.5em 0.1em 0.3em;
   }
.pod-play:hover {
   background: #666;
   color: white;  
   }
.pod-play:hover em {
   background: black;
   color: white  
   }

Advanced: Two Styles in One Page

If you have more than one feed displayed per page, you can assign different styles to each display. You will need a solid understanding of CSS and inheritance to get this to work!.


By supplying a value for CSS Custom Class in the build form you can now create different top level classes. The value passed will create a CSS class named rss-box-XXXX where XXXX is this value. This implies that you may have to define more specific classes for the other classes listed above, or use the top level rss-box-XXXX classes to say define a different background color.


See two examples:


  • Two Completely Different Styles. The second style has a value of css=spirit, so all CSS elements are defined to be a descendant of this class.
  • Two Similar Styles. In this case, the only difference is the background color, which can be specified in the rss_box_w and rss_box_g classes.


Two Similar Styles. In this case, the only difference is the background color, which can be specified in the rss_box_w and rss_box_g classes.

Feed2JS v1.7
http://www.freetipsandwits.com/feed/style.php

Feed2JS code is Copyright (C) 2004-2008 Alan Levine (Maricopa Community Colleges). It is available as both a free service and open source code from:
http://jade.mcli.dist.maricopa.edu/feed/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details http://www.gnu.org/licenses/gpl.html


Return from RSS Feed Style Sheets to RSS Feed To HTML or RSS Feed To JS

Return from RSS Feed Style Sheets to Make Money Online|Easy Money Making Ideas (HOME)




Recent Make Money Online in Blog Posts



Looking for more?

Are you satisfied with this "RSS Feed Style Sheets in Free RSS Feed Converter"? If you're looking for more information within or outside this site, you Google it. Google is the fastest and the most reliable search engine on the net today. Type in the Google search box below, the key phrases of the information you want like "money making ideas" or "free rss feed converter". Add a keyword like "easy" or "free" and other specific keywords to get a more relevant search engine results for the information, resources or ideas you are looking for.

Google
 


Money Making Thoughts
“High achievers spot rich opportunities swiftly, make big decisions quickly and move into action immediately. Follow these principles and you can make your dreams come true.”

-- Robert H. Schuller




Go Home From RSS Feed Style Sheets in Free RSS Feed Converter

Home of Money Making Ideas

“Learn How To Make Money In Easy Way”


WHAT'S HOT?

Free SEO Training
With Certificate
+ Understanding Search Engines
+ On-Page SEO
+ Off-Page SEO
+ Monitoring Search Engine Rankings
+ Avoid or Use Black Hat SEO
+ Pay-Per-Click Advertising, Email Marketing, Affiliate Marketing & Web Analytics.
+ Be an SEO Expert Now!

Make Money Online
Proven/Guaranteed!
+ Not a get-rich-quick scheme but guarantees to build a profitable niche website.
+ Proven process of website building from niche identification to monetization.
+ Being taught in the accredited centers of higher education such as The Citadel and the University of Arizona.
+ Traffic building tools like Automatic Search Engine Pinging and Traffic Stats & Clicks Analysis.
+ Trust building tools such as Electronic Newsletter Publishing and Automated Blogging.
+ Monetization tools that will help your website make big money.
+ Continuously adding new web technologies like Content 2.0.
+ With support from successful website business owners.
+ Learn more.

Free Web Hosting
250MB Space/100GB Traffic
+ No banners or ads.
+ Host your own registered domain.
+ CPanel powered hosting.
+ PHP, MySQL, Unlimited domains.
+ POP3 email and SMTP access.
+ Sign up, Now!.

Cheapest Domain Name
+ Only $5.95, first year.
+ FREE Whois Privacy.
+ Featured by Netcraft as cheapest.
+ Register your domain, Now!

Make Adsense Money
On This Site
+ Own high-CTR Adsense units on this site.
+ Just add your Adsense ID and Channel.
+ Make money for every Adsense click here.
+ Learn more here.

Make Money by Socializing
+ Join this social community for Free.
+ Earn money by starting good discussions.
+ Make money by responding to discussions.
+ Learn more here.


Fun For Money
Online Games



Recent Jobs
Post a Job






Free Ad Posting
Recent 5 Ads


Let Investors Find You
Think about it. Why is it so hard to find investors? Because 99 times out of 100, THEY'VE NEVER HEARD OF YOU. You are an unknown, with a business or project they've never seen or heard of. There is something so much better that you can do rather then taki...

Lowest Price Products
Lowest Price Online store for MP4,MP3,Batteries,Accesso ries For iPod,PDA,Computer;Card Reader,Light...

Money is Power
The Wealth Express: Fast and Smart Ways to Infinite Riches...

Baby Angels DVD - Buy it
The Adventures of the Baby Angels - The Beginning [DVD]...

Professional Counseling
I offer my service through live session and email. click on http://www.kasamba.com/su dipa-sarkar-msc...

Post Your Ad Here


Help Charity For Kids
Make Money


Compassion
Share your love, prayers and support with a boy or girl who lives in poverty. Sponsor a child for $32 a month.

Save The Children
Ensures that children can survive and thrive in developing countries. Sponsor a child for $28 a month.

Plan
Works to achieve lasting improvements for children living in poverty in developing countries. Sponsor a child from 12 - 17 GBP a month.

Feed The Children
Programs focus on providing food, medical assistance, emergency relief, and creating sustainable development. Sponsor a child for $30 a month. You can also bring hope to a disabled child for $35 a month.

EveryChild
Protects the most vulnerable and excluded children. Sponsor a child for just 50p a day.