[Pro] taking readfeed out of UL format

Hi,
I have successfully set up a readfeed from one of my blogs to a website I am redesigning. (I love how it is working, by the way and plan to use it to allow me to harness multiple blogger accounts for a low-level CMS-run website).
I want to be able to present the content in more typical text format and not automatically bulleted and indented, as it now appears. Is there a way to bring in the blog text other than as an unordered list, or a way to override the UL formatting once it arrives at my site?
On a related note, is there a way to set up styles so that different blogs can have different styles for title, description and link?
Thanks, Rich

http://www.catawbariverdistrict.org/blogtest.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can style an unordered list to appear in any format you like. Drop this into your page in the Page / HTML Markup dialog, in the Before section of the dialog. Note that you MUST replace the #item42 with whatever the actual name of your HTML box that you’ve applied the ReadFeed Action to, as reported in the Title field of the Item Inspector.

<style type="text/css">
	#item42 ul, #item42 li {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
</style>

What this blodge of CSS does is reset the list to behave the way nested DIVs would: no spacing around or within the individual list items or the list itself. Any further styling you want to add to that (to separate the list items from one another, for example) would be added in another rule within that same style block:

/* after the first style block */
	#item42 li {
		padding: 0 0 1em;
	}
/* closing style tag here */

Walter

On Nov 17, 2012, at 5:48 AM, Rich Haag wrote:

Hi,
I have successfully set up a readfeed from one of my blogs to a website I am redesigning. (I love how it is working, by the way and plan to use it to allow me to harness multiple blogger accounts for a low-level CMS-run website).
I want to be able to present the content in more typical text format and not automatically bulleted and indented, as it now appears. Is there a way to bring in the blog text other than as an unordered list, or a way to override the UL formatting once it arrives at my site?
On a related note, is there a way to set up styles so that different blogs can have different styles for title, description and link?
Thanks, Rich

http://www.catawbariverdistrict.org/blogtest.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If by style you mean visual style, then certainly. You would use the same method I outlined previously, only create a different style block based on #item43 instead of #item42. Each ReadFeed block is created from a separate HTML box on the page, and each box has its own ID. You can scope the styles very precisely in this manner.

If you mean to use a separate set of variables from the feed, then yes, that’s also possible. By editing the template and the elements used in the ReadFeed interface, you can have one set of links show an image, another show a set of headlines only, another show a set of headlines and brief descriptions – the possibilities are limited only by the XML served to you by the feed.

Note that this is a geek-level interface, there is no way to predict how a feed will be formatted, and you’ll need to read the XML, figure out which elements you would like, and set up your template as appropriate.

Also note that this Action depends on a third party for content, and as such, is brittle in nature. If you don’t control the feed, you don’t have anyone to complain to when that feed changes format. You will need to monitor the output and make sure that you stay ahead of any changes.

Walter

On Nov 17, 2012, at 5:48 AM, Rich Haag wrote:

On a related note, is there a way to set up styles so that different blogs can have different styles for title, description and link?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter,
I will tackle this tomorrow when I have a fresh brain. Thanks for getting back to me so quickly. I’m already impressed with how well readfeed is working for my site.
Rich


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options