summaryrefslogtreecommitdiff
path: root/src/feeds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feeds.c')
-rw-r--r--src/feeds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feeds.c b/src/feeds.c
index 6b102fef..a68fd726 100644
--- a/src/feeds.c
+++ b/src/feeds.c
@@ -215,7 +215,7 @@ static void parseResult_FeedJob_(iFeedJob *d) {
215 entry->discovered = now; 215 entry->discovered = now;
216 entry->bookmarkId = d->bookmarkId; 216 entry->bookmarkId = d->bookmarkId;
217 setRange_String(&entry->url, url); 217 setRange_String(&entry->url, url);
218 set_String(&entry->url, absoluteUrl_String(url_GmRequest(d->request), &entry->url)); 218 set_String(&entry->url, canonicalUrl_String(absoluteUrl_String(url_GmRequest(d->request), &entry->url)));
219 setRange_String(&entry->title, title); 219 setRange_String(&entry->title, title);
220 trimTitle_(&entry->title); 220 trimTitle_(&entry->title);
221 int year, month, day; 221 int year, month, day;
@@ -241,7 +241,7 @@ static void parseResult_FeedJob_(iFeedJob *d) {
241 entry->bookmarkId = d->bookmarkId; 241 entry->bookmarkId = d->bookmarkId;
242 iString *title = newRange_String(line); 242 iString *title = newRange_String(line);
243 set_String(&entry->title, title); 243 set_String(&entry->title, title);
244 set_String(&entry->url, &d->url); 244 set_String(&entry->url, canonicalUrl_String(&d->url));
245 appendChar_String(&entry->url, '#'); 245 appendChar_String(&entry->url, '#');
246 append_String(&entry->url, collect_String(urlEncode_String(title))); 246 append_String(&entry->url, collect_String(urlEncode_String(title)));
247 delete_String(title); 247 delete_String(title);