GNOME Bugzilla – Bug 329957
Add a feed_title field to the Liferea index
Last modified: 2006-02-06 03:32:09 UTC
On behalf of the Deskbar developers... We really need a way to obtain a sane title for feed indexes, so that we can display them like: dc:feed_title\ndc:title Patch attached. Please bear with me, this is my first C# code ever :) Atleast I try.
Created attachment 58737 [details] [review] Adds a dc:feed_title entry based on Lifereas feedTitle tag Perhaps Blam and Akregator backends should make such a field too. I will look at this if you accept the idea.
Mikkel, i think the correct property name wouldn't be dc:feed_title, since dc is really the Dublin Core thing, with standardised names for the semantic web ! (yay) I don't know if this property maps to a dc prop, else maybe you should use fixme: or whatever beagle uses in these cases..
Hehe whatta you know :) I was wondering what that dc was short for... Looking trhough http://dublincore.org/documents/dces/ I see a Publisher element. Maybe dc:publisher will be acceptable?
Created attachment 58779 [details] [review] Use dc:publisher tag and make Blam use it too This new patch uses dc:publisher instead. It also stores this field for Blam feeds. I couldn't get my head around Akregator in this first (second to be honest :D) pass. It uses some XML serialization to confuse the enemy.
Deskbar users most probably wont be using akregator :). Akregator backend in beagle works for kde<=3.4. With the recent kde, akregator has changed its backend file format. That beside, I know what to add for akregator. Is the liferea patch correct ? + [XmlElement ("publisher")] public string Publisher=""; Do <item> elements do have a <publisher> child element ? I dont use liferea currently; the old files I have dont have any <publisher> tag for each <item>.
Created attachment 58784 [details] [review] Removed the "publisher" Item xml element Sorry, you're correct. Here's an updated patch.
Changed the properties to propertytype.text and committed.