}
func main() {
- spaceapidata.AddSpaceFeed("calendar", "application/rss+xml", "http://grical.realraum.at/s/?query=!realraum&view=rss")
- spaceapidata.AddSpaceFeed("google+", "text/html", "https://plus.google.com/113737596421797426873")
+ spaceapidata.AddSpaceFeed("calendar", "http://grical.realraum.at/s/?query=!realraum&view=rss")
+ spaceapidata.AddSpaceFeed("blog", "https://plus.google.com/113737596421797426873")
+ spaceapidata.AddSpaceFeed("wiki", "http://realraum.at/wiki")
spaceapidata.AddSpaceContactInfo("+43780700888524", "irc://irc.oftc.net/#realraum", "realraum@realraum.at", "realraum@realraum.at", "realraum@realraum.at", "vorstand@realraum.at")
eventqueue := make(chan string)
ticker := time.NewTicker(time.Duration(7) * time.Minute)
return nsi
}
-func (nsi SpaceInfo) AddSpaceFeed(feedtype, mimetype, url string) SpaceInfo {
- newfeed := SpaceInfo{"type": mimetype, "url": url}
+func (nsi SpaceInfo) AddSpaceFeed(feedtype, url string) SpaceInfo {
+ newfeed := SpaceInfo{"url": url}
if nsi["feeds"] == nil {
nsi["feeds"] = SpaceInfo{feedtype: newfeed}
} else {