Compare commits
2 Commits
098d82075d
...
bdc93d5596
Author | SHA1 | Date |
---|---|---|
yequari | bdc93d5596 | |
yequari | bc0178ba1c |
|
@ -1 +1,3 @@
|
|||
*.xml
|
||||
/cli
|
||||
/web
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# webweav.ing
|
||||
|
||||
Tools for the smallweb
|
||||
|
||||
So far this is just an RSS feed generator for right now.
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"git.32bit.cafe/yequari/rss-gen/feed"
|
||||
"git.32bit.cafe/yequari/webweav.ing/feed"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"net/http"
|
||||
"strings"
|
||||
|
||||
"git.32bit.cafe/yequari/rss-gen/feed"
|
||||
"git.32bit.cafe/yequari/webweav.ing/feed"
|
||||
)
|
||||
|
||||
func (app *application) home(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
package feed
|
||||
|
||||
var ParseArticle = parseArticle
|
||||
var FetchPage = fetchPage
|
||||
var ParseTime = parseTime
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package feed_test
|
||||
|
||||
import "testing"
|
||||
import "time"
|
||||
import "git.32bit.cafe/yequari/rss-gen/feed"
|
||||
import (
|
||||
"testing"
|
||||
"time"
|
||||
"git.32bit.cafe/yequari/webweav.ing/feed"
|
||||
)
|
||||
|
||||
func TestArticleParse(t *testing.T) {
|
||||
testDate, err := time.Parse("2006-Jan-02", "2004-May-14")
|
||||
|
|
Loading…
Reference in New Issue