Rank: Newbie
Groups: Registered
Joined: 12/30/2014(UTC) Posts: 2 Location: us
|
I am using an XML files bring in scores of matches, I also need to do the same for news. All fields work fine except getting the thumbnails as an images. Can anyone assist. You can use any XML file and try. These being pulled live just like an RSS feed.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Images have to be referenced (link) to their source from the help files : Quote:If your title includes an image field, this can also be assigned to a data source. The data source text data must be either a full URL or file path in order to load correctly. For example http://www.example.com/image.jpgc:\images\logo.png
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/2/2015(UTC) Posts: 364 Location: Sydney Thanks: 283 times Was thanked: 76 time(s) in 62 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/30/2014(UTC) Posts: 2 Location: us
|
Thank these links lead to no where. Anyway the XML data am getting comes directly from a third party so I would not have the images stored on my local server. I just pull a link add it to data sources in VMIX add the xpath and good to go. Once this is done I have all other fields. Please try this link in your VMIX and see if it works. http://feeds.bbci.co.uk/news/rss.xml?edition=int let me know what you use for Xpath.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Quote:I would not have the images stored on my local server. then you link to the images on the source server . using an online xpath tester will help you to find the codes for the nodes/xpaths you want
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Quote:rss/channel/item[X]/media:thumbnail/@url where x is the item from which you want the image
but wont work in datasources directly so you would need to use some codebehind in your title to acces it and display . no idea on how to get the item number, sorry google was my friend
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close