oExchange and MyeTV Sharer

Open URL Sharing Protocol for sharing anything you want with everyone you want
This content has 5 years. Please, read this page keeping its age in your mind.

oexchangeHey we have some news from our developers… We are adding the oExchange (Open URL Sharing Protocol) and the XRD implementation on the sharer of MyeTV to the public web archive (the sharer still be underconstruction and on testing). External services in all the world should be able to connect to our http://www.myetv.tv/.well-known/host-meta and get the target of the XRD TARGET file: http://www.myetv.tv/sharer/myetvsharertarget.xml and get the url of the sharing services: http://www.myetv.tv/sharer/. The sharer services is on testing and not all functions are at 100%; you can share a lot of thing right now like text, links, images, video and mycoins. You can share it in your “MyWall” of MyeTV (your personal wall or a page).

Here is the code for our .well-known/host-meta file:

<?xml version='1.0' encoding='UTF-8'?>

<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'
xmlns:hm='http://www.myetv.tv/sharer/myetvsharertarget.xml'>

<hm:Host>www.myetv.tv</hm:Host>

<Link rel='license'
href='http://www.myetv.tv/terms/'>
<Title xml:lang='en-us'>Site License Policy</Title>
</Link>
<Link rel='describedby'
template='http://www.myetv.tv/sharer/?url={url}'>
<Title xml:lang='en-us'>Resource Descriptor</Title>
</Link>

And here is the code for the XRD TARGET file:


<?xml version='1.0' encoding='UTF-8'?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">

<Subject>http://www.myetv.tv/sharer</Subject>

<Property
type="http://www.oexchange.org/spec/0.8/prop/vendor">MyeTV</Property>
<Property
type="http://www.oexchange.org/spec/0.8/prop/title">Sharer Service</Property>
<Property
type="http://www.oexchange.org/spec/0.8/prop/name">Share on MyWall</Property>
<Property
type="http://www.oexchange.org/spec/0.8/prop/prompt">Send to MyWall</Property>

<Link
rel= "icon"
href="http://www.myetv.tv/favicon.ico"
type="image/vnd.microsoft.icon"
/>

<Link
rel= "icon32"
href="http://www.myetv.tv/images/sharer/iconMYshare.png"
type="image/png"
/>

<Link
rel= "http://www.oexchange.org/spec/0.8/rel/offer"
href="http://www.myetv.tv/sharer/"
type="text/html"
/>
</XRD>

As well documented at http://www.oexchange.org/ this files are build to be localizable automatically. The first one called host-meta calls the second one called TARGET XRD like so the social networks and website developers know where to points it’s applications to interact with the MyeTV service. The accepted parameter are the URL; please note refer to the link sharing helps to have more informations on this service.

Hey, stay tuned!!! Have a nice day, folks!

Print Friendly, PDF & Email

There are 1 comments. Add yours

  1. Pingback: oEmbed and MyeTV | Official MyeTV Support Blog 07/05/2014

    […] your MyWall; the codes comes automatically from the services provider and developers that use the oExchange protocol. With the oEmbed library you can share urls in a speedy way and you can share more urls related to […]

Join the Conversation