Skip to main content
Known Participant
August 14, 2019
Question

How do you add a link to XML file without using an image?

  • August 14, 2019
  • 2 replies
  • 1292 views

Hello. This might seem like a dumb question, but I've created an XML file for an RSS feed and I want to add a link/URL to it without having to put any new text or image on my home page and I can't figure out how to do it.

Any ideas?


Thanks.

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    August 14, 2019

    I don't understand the question as phrased.  Maybe you could tell us more about the XML file -- the feed it contains and how you are using it.

    As an example, this tutorial describes how to parse an XML feed from YouTube with PHP code and display results in a web page.

    Parse XML Feed with PHP Code - https://alt-web.com/

    Nancy O'Shea— Product User & Community Expert
    Known Participant
    August 14, 2019

    What I'm asking for is much simpler than that (I think). I know it could easily do this by inserting some text that says RSS and/or an image, but I'm specifically trying not to add or change anything visible on my home page. Does that make sense?

    B i r n o u
    Legend
    August 14, 2019

    what do you mean, having a link without any element (text or image) to click on to get the hyperlink working ?

    so you want to have a node clikable ?

    Known Participant
    August 14, 2019

    I just want to have an RSS feed that I can supply to a company that's tracking the content on my site, but I essentially want it to be invisible. I have created an XML file with the data for the feed and need to provide them a URL that they can connect to.

    Does that make sense?

    Nancy OShea
    Community Expert
    Community Expert
    August 14, 2019

    That's what I initially tried, but I went to check that with a site called Feed Validator that's supposed to make sure your RSS feed data is accurate and it didn't work. It gave me a message that said "It looks like this is a web page, not a feed.  I looked for a feed associated with this page, but couldn't find one.  Please enter the address of your feed to validate."


    I think we can save a lot of time if you post the URL to your feed so we can take a look at it.

    Nancy O'Shea— Product User & Community Expert