Use upstream xmlx now that it has merged.

This commit is contained in:
Anschel Schaffer-Cohen 2013-03-19 14:12:11 -04:00
parent 069bcf4dc8
commit cccaf19d93
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -1,6 +1,6 @@
/* /*
Author: jim teeuwen <jimteeuwen@gmail.com> Author: jim teeuwen <jimteeuwen@gmail.com>
Dependencies: go-pkg-xmlx (http://github.com/anschelsc/go-pkg-xmlx) Dependencies: go-pkg-xmlx (http://github.com/jteeuwen/go-pkg-xmlx)
This package allows us to fetch Rss and Atom feeds from the internet. This package allows us to fetch Rss and Atom feeds from the internet.
They are parsed into an object tree which is a hyvrid of both the RSS and Atom They are parsed into an object tree which is a hyvrid of both the RSS and Atom
@ -28,7 +28,7 @@ package feeder
import ( import (
"errors" "errors"
"fmt" "fmt"
xmlx "github.com/anschelsc/go-pkg-xmlx" xmlx "github.com/jteeuwen/go-pkg-xmlx"
"net/http" "net/http"
"strconv" "strconv"
"strings" "strings"

2
rss.go
View File

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