feeds: fix articles Link(s)
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@ package rss
|
||||
|
||||
import (
|
||||
"git.phc.dm.unipi.it/phc/website/articles"
|
||||
"git.phc.dm.unipi.it/phc/website/config"
|
||||
"github.com/gorilla/feeds"
|
||||
)
|
||||
|
||||
@@ -22,7 +23,7 @@ func GenerateRssFeed(entries []*articles.Article, title string, link string, des
|
||||
&feeds.Item{
|
||||
Id: entry.Id,
|
||||
Title: entry.Title,
|
||||
Link: &feeds.Link{Href: entry.ArticlePath},
|
||||
Link: &feeds.Link{Href: config.BaseUrl + "/guide" + entry.Id},
|
||||
Description: entry.Description,
|
||||
Created: entry.PublishDate,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user