[Mono-devel-list] monologue patch
David Dollar
david at grepninja.com
Tue Apr 27 23:52:18 EDT 2004
This patch is for monologue, it adds the author's name to the Title
attribute for easier reading in Straw.
1) Straw doesnt show the author tag
2) The author tag is a faked email address that's pretty ugly anyway
Patch both inline and attached
--- monologue-worker.cs.old 2004-04-27 23:45:35.499957464 -0400
+++ monologue-worker.cs 2004-04-27 23:45:22.913870840 -0400
@@ -229,7 +229,10 @@
if (feed == null) {
feed = RssFeed.Read (RssUrl);
foreach (RssItem i in feed.Channels [0].Items)
+ {
i.Author = ID;
+ i.Title += " by " + this.Name;
+ }
return true;
} else {
RssFeed old = feed;
--
David Dollar Owner, Grepninja Systems
david at grepninja.com www.grepninja.com
GPG [DD0ABE82] 08EA 0674 6B5A 8FF2 0F99 0572 367F 8CB6 DD0A BE82
-------------- next part --------------
A non-text attachment was scrubbed...
Name: monologue.patch
Type: text/x-diff
Size: 387 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040427/d78ae6a0/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040427/d78ae6a0/attachment-0001.bin
More information about the Mono-devel-list
mailing list