Blog titles not parsing

Gordon Hodgson feeds at greenfeed.org.uk
Fri Oct 10 19:42:42 EST 2008


Hi Sam,

I commented out the titles to force Venus to get the titles from the  
rss and atom feeds like Planet does (and to see if I could narrow down  
why it gets the titled from the feeds in some cases, and not in others  
(I couldn't)).

I'll try the template change you suggested, but I had assumed  
'classic_fancy' in Venus would be identical to 'fancy' in Planet,  
which does pick up the titles.

Regards,
Gordon

On 9 Oct 2008, at 20:22, Sam Ruby wrote:

> Gordon Hodgson wrote:
>> I'm still having a problem with Venus where half my blog titles  
>> aren't  parsing, if I don;t explicitly specify them. I can;t work  
>> out what it  is.
>
> I'm not certain I understand the question.  The "classic fancy"  
> template provided with Venus isn't meant to pick up the titles, but  
> could be made to do so simply by changing channel_name to  
> channel_title in the template itself.
>
> In the config.ini below, the names are all commented out (i.e., the  
> lines start with a hash mark).
>
> - Sam Ruby
>
>> The test site is here:
>> http://www.greenfeed.org.uk/feeds2/
>> The subscriptions list source code is here:
>> <h2>Subscriptions</h2>
>> <ul>
>> <li>
>> <a href="http://www.adopteddomain.com/blog/atom.xml"   
>> title="subscribe"><img src="images/feed-icon-10x10.png"  
>> alt="(feed)"></ a> <a href="http://www.adopteddomain.com/blog/"  
>> title="Adopted Domain  Feed"></a>
>> </li>
>> <li>
>> <a href="http://www.adrianramsay.org.uk/blogfeed.rss"   
>> title="subscribe"><img src="images/feed-icon-10x10.png"  
>> alt="(feed)"></ a> <a href="http://www.adrianramsay.org.uk/blogfeed.rss.html 
>> "  title="Adrian Ramsay’s Blog"></a>
>> </li>
>> <li>
>> <a href="http://www.adrianramsay.org.uk/newsfeed.rss"   
>> title="subscribe"><img src="images/feed-icon-10x10.png"  
>> alt="(feed)"></ a> <a href="http://www.adrianramsay.org.uk/newsfeed.rss.html 
>> "  title="News from Adrian Ramsay"></a>
>> </li>
>> <li>
>> <a href="http://aleddilwynfisher.wordpress.com/feed/"   
>> title="subscribe"><img src="images/feed-icon-10x10.png"  
>> alt="(feed)"></ a> <a href="http://aleddilwynfisher.wordpress.com"  
>> title="Aled Dilwyn  Fisher’s Blog"></a>
>> </li>
>> <li>
>> <a href="http://www.readmyday.co.uk/pub/readmydayuk/andydag/__rss__/andydag.rss 
>>  " title="subscribe"><img src="images/feed-icon-10x10.png"   
>> alt="(feed)"></a> <a href="http://www.readmyday.co.uk/andydag"   
>> title="Andy D'Agorne">Andy D'Agorne</a>
>> </li>
>> <li>
>> <a href="http://ashleygunstock.blogspot.com/feeds/posts/default"   
>> title="subscribe"><img src="images/feed-icon-10x10.png"  
>> alt="(feed)"></ a> <a href="http://ashleygunstock.blogspot.com/"  
>> title="Ashley  Gunstock">Ashley Gunstock</a>
>> </li>
>> <li>
>> <a href="http://jim.killock.org.uk/?feed=rss2"  
>> title="subscribe"><img  src="images/feed-icon-10x10.png"  
>> alt="(feed)"></a> <a href="http://jim.killock.org.uk " title="Jim  
>> Killock's Green Party blog">Jim Killock</a>
>> </li>
>> <li>
>> <a href="http://www.twodoctors.org/atom.xml"  
>> title="subscribe"><img  src="images/feed-icon-10x10.png"  
>> alt="(feed)"></a> <a href="http://www.twodoctors.org/ " title="Two  
>> Doctors">Two Doctors</a>
>> </li>
>> </ul>
>> and this is my config.ini file:
>> # Planet configuration file
>> #
>> # This illustrates some of Planet's fancier features with example.
>> # Every planet needs a [Planet] section
>> [Planet]
>> # name: Your planet's name
>> # link: Link to the main page
>> # owner_name: Your name
>> # owner_email: Your e-mail address
>> name = GreenFeed
>> link = http://www.greenfeed.org.uk/feeds2/
>> owner_name = Gordon Hodgson
>> owner_email = feeds [at] greenfeed [dot] org [dot] uk
>> # cache_directory: Where cached feeds are stored
>> # new_feed_items: Number of items to take from new feeds
>> # log_level: One of DEBUG, INFO, WARNING, ERROR or CRITICAL
>> # feed_timeout: number of seconds to wait for any given feed
>> cache_directory = /home/greenfee/public_html/venus/cache
>> new_feed_items = 15
>> log_level = DEBUG
>> feed_timeout = 20
>> # template_files: Space-separated list of output template files
>> template_files = /home/greenfee/public_html/venus/themes/ 
>> classic_fancy/ index.html.tmpl /home/greenfee/public_html/venus/ 
>> themes/common/ atom.xml.tmpl /home/greenfee/public_html/venus/ 
>> themes/common/ rss20.xml.tmpl /home/greenfee/public_html/venus/ 
>> themes/common/ rss10.xml.tmpl /home/greenfee/public_html/venus/ 
>> themes/common/ opml.xml.tmpl /home/greenfee/public_html/venus/ 
>> themes/common/ foafroll.xml.tmpl
>> # The following provide defaults for each template:
>> # output_dir: Directory to place output files
>> # items_per_page: How many items to put on each page
>> # days_per_page: How many complete days of posts to put on each page
>> #                This is the absolute, hard limit (over the item  
>> limit)
>> # date_format: strftime format for the default 'date' template  
>> variable
>> # new_date_format: strftime format for the 'new_date' template  
>> variable
>> # encoding: output encoding for the file, Python 2.3+ users can use  
>> the
>> #           special "xml" value to output ASCII with XML character   
>> references
>> # locale: locale to use for (e.g.) strings in dates, default is  
>> taken  from your
>> #         system. You can specify more locales separated by ':',   
>> planet will
>> #         use the first available one
>> output_dir = /home/greenfee/public_html/feeds2
>> items_per_page = 200
>> #used to be 100
>> days_per_page = 4
>> #used to be 0 then 7 then 2
>> date_format = %d %B, %Y %I:%M %p
>> new_date_format = %d %B, %Y
>> encoding = utf-8
>> # locale = C
>> # To define a different value for a particular template you may  
>> create
>> # a section with the same name as the template file's filename (as  
>> given
>> # in template_files).
>> # Provide no more than 7 days articles on the front page
>> # [planet-2.0/examples/fancy/index.html.tmpl]
>> #days_per_page = 2
>> # If non-zero, all feeds which have not been updated in the indicated
>> # number of days will be marked as inactive
>> activity_threshold = 0
>> # Options placed in the [DEFAULT] section provide defaults for the  
>> feed
>> # sections.  Placing a default here means you only need to override  
>> the
>> # special cases later.
>> [DEFAULT]
>> # Hackergotchi default size.
>> # If we want to put a face alongside a feed, and it's this size, we
>> # can omit these variables.
>> #face = greenfeed.png
>> #facewidth = 100
>> #faceheight = 100
>> # Any other section defines a feed to subscribe to.  The section  
>> title
>> # (in the []s) is the URI of the feed itself.  A section can also be
>> # have any of the following options:
>> #
>> # name: Name of the feed (defaults to the title found in the feed)
>> #
>> # Additionally any other option placed here will be available in
>> # the template (prefixed with channel_ for the Items loop).  We use
>> # this trick to make the faces work -- this isn't something Planet
>> # "natively" knows about.  Look at fancy-examples/index.html.tmpl
>> # for the flip-side of this.
>> [http://www.adopteddomain.com/blog/atom.xml]
>> #name = Adopted Domain
>> #face = bison.jpg
>> #faceheight = 133
>> [http://www.adrianramsay.org.uk/blogfeed.rss]
>> #name = Adrian Ramsay's Blog
>> #face = adrianramsay.jpg
>> #faceheight = 74
>> [http://www.adrianramsay.org.uk/newsfeed.rss]
>> #name = Adrian Ramsay: News
>> #face = adrianramsay.jpg
>> #faceheight = 74
>> [http://aleddilwynfisher.wordpress.com/feed/]
>> #name = Aled Dilwyn Fisher's Blog
>> [http://www.readmyday.co.uk/pub/readmydayuk/andydag/__rss__/andydag.rss 
>> ]
>> #name = Andy D'Agorne
>> #face = andy.jpg
>> #faceheight = 122
>> [http://ashleygunstock.blogspot.com/feeds/posts/default]
>> #name = Ashley Gunstock
>> #face = ashley.jpg
>> #faceheight = 150
>> [http://jim.killock.org.uk/?feed=rss2]
>> [http://www.twodoctors.org/atom.xml]
>> Any help would be very much appreciated,
>> Gordon
>
>



More information about the devel mailing list