blob: 4a891178c19313947c1136f435039c7716ac9790 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package page
/*
import (
"github.com/gorilla/feeds"
"io"
)
// Atom returns an Atom feed for all of the articles with the specified tag
func (p *Page) Atom(wr io.Writer, tag string) error {
index, err := p.Index()
if err != nil {
return err
}
pages, ok := index[tag]
if !ok {
pages = PageList{}
}
feed := &feeds.Feed{
Title: "",
Link: &feeds.Link{Href: "http://jmoiron.net/blog"},
Description: "discussion about tech, footie, photos",
Author: &feeds.Author{Name: "Jason Moiron", Email: "jmoiron@jmoiron.net"},
Created: now,
}
}
*/
|