[sage] Done a fix for the behavior of title override
Peter Andrews
petea at jhu.edu
Fri Feb 17 10:48:04 EST 2006
Automatically updating feed titles does seem to clash with how some
users manage their feeds, we've gotten a good bit of feedback here.
Of course, this behavior can be disabled in Sage's settings dialog.
However, this makes titling new feeds a manual process. Perhaps this
should be the disabled behavior. Created enhancement bug:
http://mozdev.org/bugs/show_bug.cgi?id=13234
peter
On Feb 8, 2006, at 12:55 PM, Raphael Jolivet wrote:
> Hello,
>
> I've discovered sage recently and here is my little contribution:
> I wanted to reorganize my feeds and to rename the, as they are
> often misnamed by the blogs themselves
> (e.g containing NC) or just because I wanted to use names that are
> more obvious for me.
> Unfortunately, sage force the rename of te bookmark each time it
> access the feed.
>
> I've changed this behavior so that the bookmark name is overriden
> only if it is not filled yet.
> Now, I can organize my feeds and rename them freely.
>
> The patch is in sage.js
>
> 535c535,542
> < if(CommonFunc.getBMDSProperty(lastResource.res,
> CommonFunc.BM_NAME) != currentFeed.getTitle()) {
> ---
> >
> > // Alias to current title
> > var currTitle = CommonFunc.getBMDSProperty(lastResource.res,
> CommonFunc.BM_NAME)
> >
> > // Update title only if it is empty
> > if ((currTitle == "") ||
> > (currTitle == null))
> > {
> Anyway, your soft is great ...
> Thanks,
>
> Raphael
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/sage/attachments/20060217/f28262d0/attachment.htm
More information about the Sage
mailing list