Microsoft Content Management Server - XML & links to resources

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2005 > XML & links to resources





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author XML & links to resources
azileretsis

2005-05-27, 8:47 pm

We are using CMS to manage our content to other websites like RSS. But,
we are encountering an issue with links to resources.

The XML coming out of CMS has relative links to resources, for example,
/nr/NR/rdonlyres/resource.gif.

Instead, we need the entire path, for example,
http://hostname/nr/NR/rdonlyres/resource.gif.

Is there an easy fix to this?

We are also looking at how we are transforming the data out with XSLT
and if we could fix the problem there but it might be better to fix the
problem at the source.

Anybody else encounter this issue?

Stefan [MSFT]

2005-05-27, 8:47 pm

Hi,

as MCMS does not generate the XML but the XML is generated by your code -
just go ahead and add the hostname to the URL when generating the XML
content.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"azileretsis" <azileretsis@yahoo.com> wrote in message
news:1117206527.494607.56140@g49g2000cwa.googlegroups.com...
> We are using CMS to manage our content to other websites like RSS. But,
> we are encountering an issue with links to resources.
>
> The XML coming out of CMS has relative links to resources, for example,
> /nr/NR/rdonlyres/resource.gif.
>
> Instead, we need the entire path, for example,
> http://hostname/nr/NR/rdonlyres/resource.gif.
>
> Is there an easy fix to this?
>
> We are also looking at how we are transforming the data out with XSLT
> and if we could fix the problem there but it might be better to fix the
> problem at the source.
>
> Anybody else encounter this issue?
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com