Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
srbsdean
Visitor

No Feed Tag Found

I am trying to develop my first Roku channel and I am not a programmer, but I am trying to muddle my way through this. I keep getting this error "no feed tag found." I have tried to change the showFeed.brs file to make some of the feed items match my feedburner feed xml, but that didn't seem to help. I feel like I am close, but I just need some help figuring out what I am doing wrong. I have included the text from the telnet below.

created feed connection for http://selectbroadcasting.org/roku/examples/source/S
RBS/xml/startup.xml
url: http://selectbroadcasting.org/roku/exam ... tartup.xml
Took: 171ms
Parse Took: 0ms
begin category node parsing
number of categories: 1
ParseCategoryNode: category
category: Recent Episodes | Watch Recent Episodes
categoryLeaf: Time for Hope TV Episodes []
ParseCategoryNode: categoryLeaf
added new child node
Traversing: 1ms
showHomeScreen | msg = | index = 0
list item selected | index = 0
only 1 category
created feed connection for http://feeds.feedburner.com/TimeForHope?format=xml
url: http://feeds.feedburner.com/TimeForHope?format=xml
Request Time: 570
no feed tag found
Note: GC - Found 13 orphaned objects (objects in a circular ref loop).
0 Kudos
6 REPLIES 6
agmark
Visitor

Re: No Feed Tag Found

There's no "feed" tag in your feed so hence the error. You want to parse the enclosure tag to get the feed "url".

I'm not well versed on the videoplayer template that you're using, but I'm not sure that's the template for your project (especially your first project). I would suggest looking at the MRSS template. I think the parsing routines would be a better fit and may not require a lot of modification to make it play.

Grab the mrss template and try to follow how it works and let us know when you have any questions. Maybe others here can suggest modifications to the videoplayer template if you decide to stay with that format.

Good luck.
0 Kudos
srbsdean
Visitor

Re: No Feed Tag Found

Thanks for the info. I am now trying to use the mrsstemplate and i have configured my config.opml, my Main.brs and my NWM_MRSS.brs file, but it is still giving me an error. Any chance you could take a look at my zip folder and see if I am missing something? I am just trying to do a very basic channel and play from my rss feed for now. Here is the link to my zip folder: https://dl.dropboxusercontent.com/s/pmk ... uVIXeVqW6w

By the way, here is the error I am getting from telnet: *** ERROR compiling /pkg:/source/NWM_MRSS.brs:
Syntax Error. (compile error &h02) in ...hdDA/pkg:/source/NWM_MRSS.brs(14)


Thanks very much!
Dean Anderson
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: No Feed Tag Found

"srbsdean" wrote:
By the way, here is the error I am getting from telnet: *** ERROR compiling /pkg:/source/NWM_MRSS.brs:
Syntax Error. (compile error &h02) in ...hdDA/pkg:/source/NWM_MRSS.brs(14)


It's telling you there's a syntax error on line 14 of NWM_MRSS.brs. You shouldn't have to change that file to use the sample channel. You've changed it to this:

function NWM_MRSS(http://feeds.feedburner.com/TimeForHope?format=xml)


That line needs to be:

function NWM_MRSS(url)


The actual URL of your feed goes in the config.opml. It will be read by the channel when it executes the LoadConfig() function and then passed to the MRSS lib as the value of the variable url.

There are also problems with the changes you made to Main.brs. You're doing this on line 31:

app.SetTheme(theme)


But the variable app is uninitialized at that point. It isn't declared until line 33.
0 Kudos
srbsdean
Visitor

Re: No Feed Tag Found

I appreciate the response. I have started fresh and just put in my media.rss file (http://api.delvenetworks.com/rest/organ ... /media.rss) to my config.opml, zipped it up and sent it to my roku box and received this error from telnet:

*** ERROR compiling /pkg:/source/generalUtils.brs:
SUB or FUNCTION defined twice. (compile error &had) in .../pkg:/source/generalUt
ils.brs(96)


I am still trying to understand the Brightscript language, so I am not sure what the "generalUtils.brs" is looking for on line 96:
Function isxmlelement(obj as dynamic) As Boolean
if obj = invalid return false
if GetInterface(obj, "ifXMLElement") = invalid return false
return true
End Function


Thanks for any insight you can provide.

Dean
0 Kudos
RokuJoel
Binge Watcher

Re: No Feed Tag Found

It means exactly that - somewhere in the channel, there is a function or a sub with the same name.

Look through all your .brs files till you find them all, and then make sure there is only one function or subroutine with that name in your project.

- Joel
0 Kudos
srbsdean
Visitor

Re: No Feed Tag Found

Thanks so much! I deleted all the files in the "common" folder and it works now.

Dean
0 Kudos