After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 329957 - Add a feed_title field to the Liferea index
Add a feed_title field to the Liferea index
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
0.2.1
Other All
: Normal enhancement
: ---
Assigned To: Debajyoti Bera
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2006-02-05 03:09 UTC by Mikkel Kamstrup Erlandsen
Modified: 2006-02-06 03:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds a dc:feed_title entry based on Lifereas feedTitle tag (1.78 KB, patch)
2006-02-05 03:11 UTC, Mikkel Kamstrup Erlandsen
none Details | Review
Use dc:publisher tag and make Blam use it too (2.75 KB, patch)
2006-02-05 20:54 UTC, Mikkel Kamstrup Erlandsen
none Details | Review
Removed the "publisher" Item xml element (2.64 KB, patch)
2006-02-05 21:47 UTC, Mikkel Kamstrup Erlandsen
none Details | Review

Description Mikkel Kamstrup Erlandsen 2006-02-05 03:09:58 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.
Comment 1 Mikkel Kamstrup Erlandsen 2006-02-05 03:11:42 UTC
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.
Comment 2 Raphael Slinckx 2006-02-05 13:45:27 UTC
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..
Comment 3 Mikkel Kamstrup Erlandsen 2006-02-05 19:38:03 UTC
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?
Comment 4 Mikkel Kamstrup Erlandsen 2006-02-05 20:54:09 UTC
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.
Comment 5 Debajyoti Bera 2006-02-05 21:33:57 UTC
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>.
Comment 6 Mikkel Kamstrup Erlandsen 2006-02-05 21:47:35 UTC
Created attachment 58784 [details] [review]
Removed the "publisher" Item xml element

Sorry, you're correct. Here's an updated patch.
Comment 7 Debajyoti Bera 2006-02-06 03:32:09 UTC
Changed the properties to propertytype.text and committed.