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 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 \ 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\ enclosure.go source.go input.go category.go generator.go link.go\
subtitle.go author.go content.go subtitle.go author.go content.go

View File

@ -1,7 +1,7 @@
package feeder package feeder
import "os" import "os"
import "xmlx" import xmlx "github.com/jteeuwen/go-pkg-xmlx"
func (this *Feed) readAtom(doc *xmlx.Document) (err os.Error) { func (this *Feed) readAtom(doc *xmlx.Document) (err os.Error) {
ns := "http://www.w3.org/2005/Atom" ns := "http://www.w3.org/2005/Atom"

View File

@ -27,7 +27,7 @@ package feeder
import "os" import "os"
import "time" import "time"
import "xmlx" import xmlx "github.com/jteeuwen/go-pkg-xmlx"
import "fmt" import "fmt"
import "strconv" import "strconv"
import "strings" import "strings"

View File

@ -1,7 +1,7 @@
package feeder package feeder
import "os" import "os"
import "xmlx" import xmlx "github.com/jteeuwen/go-pkg-xmlx"
func (this *Feed) readRss2(doc *xmlx.Document) (err os.Error) { func (this *Feed) readRss2(doc *xmlx.Document) (err os.Error) {
days := make(map[string]int) days := make(map[string]int)