Making package easily usable with goinstall. Including the reference to go-pkg-xmlx and the build target in the makefile.
This commit is contained in:
parent
31d02da4ae
commit
1a851548db
|
@ -1,6 +1,6 @@
|
|||
include $(GOROOT)/src/Make.inc
|
||||
|
||||
TARG = feeder
|
||||
TARG = github.com/jteeuwen/go-pkg-rss
|
||||
GOFILES = feed.go rss.go atom.go channel.go image.go item.go cloud.go \
|
||||
enclosure.go source.go input.go category.go generator.go link.go\
|
||||
subtitle.go author.go content.go
|
|
@ -1,7 +1,7 @@
|
|||
package feeder
|
||||
|
||||
import "os"
|
||||
import "xmlx"
|
||||
import xmlx "github.com/jteeuwen/go-pkg-xmlx"
|
||||
|
||||
func (this *Feed) readAtom(doc *xmlx.Document) (err os.Error) {
|
||||
ns := "http://www.w3.org/2005/Atom"
|
|
@ -27,7 +27,7 @@ package feeder
|
|||
|
||||
import "os"
|
||||
import "time"
|
||||
import "xmlx"
|
||||
import xmlx "github.com/jteeuwen/go-pkg-xmlx"
|
||||
import "fmt"
|
||||
import "strconv"
|
||||
import "strings"
|
|
@ -1,7 +1,7 @@
|
|||
package feeder
|
||||
|
||||
import "os"
|
||||
import "xmlx"
|
||||
import xmlx "github.com/jteeuwen/go-pkg-xmlx"
|
||||
|
||||
func (this *Feed) readRss2(doc *xmlx.Document) (err os.Error) {
|
||||
days := make(map[string]int)
|
Loading…
Reference in New Issue