Use upstream xmlx now that it has merged.
This commit is contained in:
parent
069bcf4dc8
commit
cccaf19d93
2
atom.go
2
atom.go
|
@ -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"
|
||||||
|
|
4
feed.go
4
feed.go
|
@ -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
2
rss.go
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue