Use upstream xmlx now that it has merged.
This commit is contained in:
		
							parent
							
								
									069bcf4dc8
								
							
						
					
					
						commit
						cccaf19d93
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		
							
								
								
									
										2
									
								
								atom.go
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								atom.go
									
										
									
									
									
								
							|  | @ -1,6 +1,6 @@ | |||
| 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) { | ||||
| 	ns := "http://www.w3.org/2005/Atom" | ||||
|  |  | |||
							
								
								
									
										4
									
								
								feed.go
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								feed.go
									
										
									
									
									
								
							|  | @ -1,6 +1,6 @@ | |||
| /* | ||||
|  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. | ||||
|  They are parsed into an object tree which is a hyvrid of both the RSS and Atom | ||||
|  | @ -28,7 +28,7 @@ package feeder | |||
| import ( | ||||
| 	"errors" | ||||
| 	"fmt" | ||||
| 	xmlx "github.com/anschelsc/go-pkg-xmlx" | ||||
| 	xmlx "github.com/jteeuwen/go-pkg-xmlx" | ||||
| 	"net/http" | ||||
| 	"strconv" | ||||
| 	"strings" | ||||
|  |  | |||
							
								
								
									
										2
									
								
								rss.go
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								rss.go
									
										
									
									
									
								
							|  | @ -1,6 +1,6 @@ | |||
| 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) { | ||||
| 	days := make(map[string]int) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue