Use title when no custom_title specified
A newly added feed has no custom title, but it will always have a title downloaded with the feed XML. Save this title into urls.opml. Otherwise the newly added feed will not be loaded on the next snownews launch.
This commit is contained in:
parent
e07998c23e
commit
1a0f39b94b
2
feedio.c
2
feedio.c
|
@ -250,6 +250,8 @@ static void WriteFeedUrls (void)
|
|||
fputs ("\t<outline", urlfile);
|
||||
if (f->custom_title)
|
||||
fprintf (urlfile, " text=\"%s\"", f->custom_title);
|
||||
else if (f->title)
|
||||
fprintf (urlfile, " text=\"%s\"", f->title);
|
||||
if (f->feedurl)
|
||||
fprintf (urlfile, " xmlUrl=\"%s\"", f->feedurl);
|
||||
if (f->feedcategories) {
|
||||
|
|
Loading…
Reference in New Issue