logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
cas  
#1 Posted : Friday, September 15, 2017 2:40:36 AM(UTC)
cas

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.
doggy  
#2 Posted : Friday, September 15, 2017 5:01:09 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,244
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 961 time(s) in 795 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.jpg
c:\images\logo.png
corporatejames  
#3 Posted : Friday, September 15, 2017 5:12:17 AM(UTC)
corporatejames

Rank: Advanced Member

Groups: Registered
Joined: 8/2/2015(UTC)
Posts: 364
Man
Australia
Location: Sydney

Thanks: 283 times
Was thanked: 76 time(s) in 62 post(s)
You can use URL paths. eg http://yourwebsite.com/images/picture.png
as soon as you make a change or update the xml, the image will update in Vmix
cas  
#4 Posted : Friday, September 15, 2017 5:31:45 AM(UTC)
cas

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.
doggy  
#5 Posted : Friday, September 15, 2017 5:56:38 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,244
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 961 time(s) in 795 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
doggy  
#6 Posted : Friday, September 15, 2017 6:57:23 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,244
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 961 time(s) in 795 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
Users browsing this topic
Guest
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.