1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How Do I dispay an XML feed on my website /

Discussion in 'XML & RSS' started by hmansfield, Aug 1, 2008.

  1. #1
    Can anyone tell me how you are supposed to configure XML feeds so that they display the information in them ?
     
    hmansfield, Aug 1, 2008 IP
  2. david_t

    david_t Member

    Messages:
    74
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #2
    What do you mean?

    XML is just another way of serving data. So an XML-feed is created from a database(or whatever data source) the same way an ordinary dynamic site is created.

    I guess you are talking about using XML-feeds so that XML-software can read and interpret them correctly? (Like firefox etc)

    Then you need to follow one of the supported standards for XML-feeds. For example RSS and Atom is two good choices.
     
    david_t, Aug 3, 2008 IP
  3. remember123

    remember123 Peon

    Messages:
    620
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    can u please give the resources to convert a php page to rss 2.0 feed
     
    remember123, Aug 16, 2008 IP
  4. mv5869

    mv5869 Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I too would like to know how to display an XML feed on my website. I would like to take the XML feed from an articles website and have those articles from a particular category automatically pubished on my website.

    I'm sure I'm missing something but I just dont really know where to start
     
    mv5869, Sep 20, 2008 IP
  5. lruneh

    lruneh Peon

    Messages:
    72
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Think of an XML document as a sort of database. It contains data and this data is stored in a special tree structure. In order to display this data on web pages you need to parse the XML document and "extract" the data from it.
    You can structure an XML document in the rss or atom formats and most browsers will automatically parse the document and display the data - a bit like a normal HTML document.
    If you want to display certain parts of an XML document on certain pages, you'll need to parse it first.

    There are lots of free software that will do this and that can be implemented in your websites. Some are easy to use, some are not. My personal favorite is magpie rss, but thats just because it works and I've never tried another... You can easily find parsers by searching on you favorite search engine.

    www.w3schoools.com is a good place to read some more about XML documents.
     
    lruneh, Sep 20, 2008 IP
  6. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #6
    There is one great feature of using RDF/XML to create your feeds: you can run your RDF file through the W3C Validator in order to see how everything is working "under the hood":

    Validation result including triples of the data model, RDF/XML source code & graph of the data model

    The above is a simple feed to provide subscribers with ongoing updates and changes to one of my web sites. I use RDF/XML, XHTML+RDFa & Dublin Core Metadata for all my data extraction/manipulation and feed generation.

    James
     
    jamesicus, Sep 20, 2008 IP
  7. firefighter

    firefighter Guest

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I've posted a howto on using Feedburner to sanitize and convert a feed into HTML. Its a non-programming way to do it, and for most purposes it shall suffice in terms of practical reality.

    http://www.feedburner.com/

    Look under Publicize --> BuzzBoost

    BuzzBoost

    Have feed, will travel. BuzzBoost republishes your burned feed's content as go-anywhere HTML. Want to promote your blog on another site you manage? BuzzBoost gives you a snippet of JavaScript you can paste into your page templates.

    ~ Firefighter, Broadens.com
     
    firefighter, Sep 26, 2008 IP
  8. songsmastee

    songsmastee Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    can u tell me we have already add our sitemap.xml file in google webmster tool , can any buddy tell me we have update our sitemap then again add in google webmaster tool or not....

    waiting for ur good reply.

    Thanks
    Songs Mastee
     
    songsmastee, Oct 12, 2008 IP
  9. neversaynikon

    neversaynikon Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #9
    So I've read all this and not sure if I'm still on earth. I created a weather website using sparkle because I'm not a coder. I would like to get a bloger.com page and/or a feed from National weather service to load on my page. National weather service (NWS) provides live weather data feeds in RSS and XML. How do I get the data in the RSS or XML feed from NWS to load on a page? I know what the RSS and XML are/do but I don't get any of this CGI, API, SEO. I don't have .NET framework. All I have is a registered domain name, a FTP client to upload the finished pages, a webserver to host and sparkle web design software.
     
    neversaynikon, Sep 19, 2018 IP
  10. cyberseo

    cyberseo Active Member

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #10
    Use this: http://www.cyberseo.net/cyberseo6-plugin-for-wordpress/ - a freeware WordPress plugin which is able to import XML feeds of any format (not just Atom or RSS feeds). E.g. something like this:

    <product>
    <id>PRODUCT-73182373</id>
    <name>DuroStar DS7200Q Remote Control Silent Diesel Generator</name>
    <specification><img url="http://static1.ostkcdn.com/images/products/P12338714.jpg"><br />Perfect for the job site or the residential user who needs back-up power Features: Electric start on panel plus remote start. Advanced direct fuel injection system for low fuel consumption. Dependable, maintenance free alternator with automatic voltage regulator. Full power panel with keyed ignition, oil alert automatic shutdown for low oil pressure, volt meter, circuit breakers, low fuel indicator and power outlets. 12 hours Continuous Operating Capability. Fully protected 12V, 120V & 220V outlets. Ground Fault Interrupter. DC 12V charging system.
    </specification>
    <price>$1,000</price>
    </product>
    Code (markup):
    or anything else.
     
    cyberseo, Nov 22, 2018 IP