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:
jim teeuwen 2011-01-20 22:57:04 +01:00
parent 31d02da4ae
commit 1a851548db
18 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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)