This returns empty
## Get the 'image' node of the child.
get revXMLNodeContents(tTreeID, tItemPath & "/media:content")
if item 1 of it is "xmlerr" then
return empty
end if
## Put the publication date into an array.
put it into tItem["content"]
Node
<media:content url="link" type="image/JPEG ...
Search found 6 matches
- Sat Jun 13, 2015 12:10 am
- Forum: Internet
- Topic: RSS - Accessing Media files
- Replies: 0
- Views: 3802
- Wed Jun 10, 2015 8:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: RSS feed with google news
- Replies: 7
- Views: 5750
Re: RSS feed with google news
<p><a href=""></a></p><p></p><p></p><p><a href=""></a></p><p></p><p></p><p><a href=""></a></p><p></p><p></p><p><a href=""></a></p><p></p><p></p><p><a href=""></a></p><p></p><p></p><p><a href=""></a></p><p></p><p></p><p><a href=""></a></p><p></p><p></p><p><a href=""></a></p><p></p><p></p><p><a href ...
- Wed Jun 10, 2015 8:05 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: RSS feed with google news
- Replies: 7
- Views: 5750
Re: RSS feed with google news
I've done a little testing and it seems its the tHtml that isnt displaying.
command createRssArticles pItems
local tHtml, tItem
## Loops through all the items contained in the RSS feed, adding their data to the html
## text which will be displayed within the field on the stack.
repeat for ...
command createRssArticles pItems
local tHtml, tItem
## Loops through all the items contained in the RSS feed, adding their data to the html
## text which will be displayed within the field on the stack.
repeat for ...
- Wed Jun 10, 2015 7:32 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: RSS feed with google news
- Replies: 7
- Views: 5750
Re: RSS feed with google news
Sure. There was a piece of the code with the comment "//Error", I've changed and am getting an error there.
## Get the 'item' child nodes of the xml tree starting from the node represented by sItemPath.
put revXMLChildNames(tTreeID,sItemPath, return, "item", true) into tItems
if item 1 of ...
## Get the 'item' child nodes of the xml tree starting from the node represented by sItemPath.
put revXMLChildNames(tTreeID,sItemPath, return, "item", true) into tItems
if item 1 of ...
- Wed Jun 10, 2015 7:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: RSS feed with google news
- Replies: 7
- Views: 5750
Re: RSS feed with google news
It didn't display. I can't tell what the exact problem. I'm not good enough with this code to identify the problem.
- Wed Jun 10, 2015 6:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: RSS feed with google news
- Replies: 7
- Views: 5750
RSS feed with google news
Trying to create a RRS feed with google news. I'm using the example from the RSS lesson.
As with other people it is not displaying. I have tried changing "RDF" to " "rss/channel". It didn't work!
Thanks
As with other people it is not displaying. I have tried changing "RDF" to " "rss/channel". It didn't work!
Thanks