Beispiel #1
0
func (m *MyFeed) PopulateFromRssItem(i *rss.Item) {
	newEntry := feed.BasicEntryBlock{}
	newEntry.PopulateFromRssItem(i)
	m.Entries = append(m.Entries, newEntry)

}
Beispiel #2
0
func (m *MyFeed) PopulateFromAtomEntry(e *atom.Entry) {
	newEntry := feed.BasicEntryBlock{}
	newEntry.PopulateFromAtomEntry(e)
	m.Entries = append(m.Entries, newEntry)
}