change xml feed properties

i am trying to hide the source generator of an XML feed

basically - want to share my feed with someone, but dont want them to see in the XML where I am creating it from (a 3rd party service)

is there a way to mask the source URL of the news items?
finnstoneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

regmigrantCommented:
There's a potential breach of copyright unless the provider has given you permission to pass this off as your own - do you have that?
0
finnstoneAuthor Commented:
yes
0
regmigrantCommented:
Ok then, on the understanding that its your call on the terms and conditions of the original provider. the basic principle is that you accept the incoming feed into your own RSS server, identify the tags and replace all the source details with your own server information adding any enrichment and serving it as a new feed or (in my case) an HTML page.

There are a lot of pre-cooked  code items available but all will need some level of analysis of the incoming feed to see how they have used tagnames and implemented the standard according to their own needs.

I've used the libraries provided by "the art of web"  with some success - but I was not adjusting the source information just amalgamating on the basis of tags and feeding a HTML window-  so that will require further investigation:

http://www.the-art-of-web.com/php/rss-example/
0
finnstoneAuthor Commented:
hmm... heres the part i need to change

1)  link 2)creator 3)rights and 4) admin:generator

any ideas?

code...


<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
<title>Links for rob </title>
<link>http://xyz.com/feed/4faef5d55cd85aa513000000</link>
<description>
Links
</description>
<dc:language>en</dc:language>
<dc:creator>boy@xyz.com</dc:creator>
<dc:rights>Copyright Boy XXX 2010 - 2015</dc:rights>
<admin:generatorAgent rdf:resource="http://www.xyz.com/"/>
0
regmigrantCommented:
I can't give you specific code because I don't know what your setup is but you can use Regex  (for example) - which is available on most platforms - to substitute those fields with updated text.

Here's a link to an EE article which includes a good introduction, VB/VBA code to handle replaces and links to further reading which will get you to Perl, PHP, etc. You should also look at your RSS server software because that will probably include some method of manipulating the feeds in the same way

http://www.experts-exchange.com//articles/1336/Using-Regular-Expressions-in-Visual-Basic-for-Applications-and-Visual-Basic-6.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
XML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.