User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 361,909 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,562 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser:
Views: 6015 | Replies: 5
Reply
Join Date: Aug 2006
Location: braintree
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

xml header trouble?

  #1  
Oct 5th, 2006
can somone tell me what this means and how to fix it please
[xML]

Invalid at the top level of the document. Error processing resource 'http://freeaddsgalore.me.uk/sitemap.xml'. Line 1, Pos...
<?xml version="1.0" encoding="ISO-8859-1"?>[/xml]
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,288
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: xml header trouble?

  #2  
Oct 19th, 2006
the code is not very clear, either tell me the line clearly or five the whole xml file.
Reply With Quote  
Join Date: Aug 2006
Location: braintree
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

Re: xml header trouble?

  #3  
Oct 19th, 2006
here is the whole code
[HTML]<?xml version="1.0" encoding="ISO-8859-1"?>
- <urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
- <url>
<loc>http://freeaddsgalore.me.uk/</loc>
<lastmod>2006-10-08</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
- <url>
<loc>http://freeaddsgalore.me.uk/exlinks.html/</loc>
<lastmod>2006-10-08</lastmod>
<changefreq>monthly</changefreq>
<priority>0.1</priority>
</url>
- <url>
<loc>http://freeaddsgalore.me.uk/effectiveads.html/</loc>
<lastmod>2006-10-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.7</priority>
</url>
- <url>
<loc>http://freeaddsgalore.me.uk/fbtips.html/</loc>
<lastmod>2006-10-08</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
- <url>
<loc>http://freeaddsgalore.me.uk/seopr.html/</loc>
<lastmod>2006-10-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.6</priority>
</url>
- <url>
<loc>http://freeaddsgalore.me.uk/freetools.html/</loc>
<lastmod>2006-10-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
- <url>
<loc>http://freeaddsgalore.me.uk/seopr.html/</loc>
<lastmod>2006-10-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.7</priority>
</url>
- <url>
<loc>http://freeaddsgalore.me.uk/fapage2.html/</loc>
<lastmod>2006-07-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.6</priority>
</url>
</urlset>[/HTML]
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,288
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: xml header trouble?

  #4  
Oct 20th, 2006
there's nothing wrong with your xmls first line. But whats wrong is
- <urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
- <url>

i mean to say that you have inserted ' - ' before every URL and URLSET element.

Here's the modified code
<?xml version="1.0" encoding="ISO-8859-1"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
    <url>
        <loc>http://freeaddsgalore.me.uk/</loc>
        <lastmod>2006-10-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>1.0</priority>
    </url>
    <url>
        <loc>http://freeaddsgalore.me.uk/exlinks.html/</loc>
        <lastmod>2006-10-08</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.1</priority>
    </url>a
    <url>
        <loc>http://freeaddsgalore.me.uk/effectiveads.html/</loc>
        <lastmod>2006-10-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url> - <url>
        <loc>http://freeaddsgalore.me.uk/fbtips.html/</loc>
        <lastmod>2006-10-08</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.5</priority>
    </url>
    <url>
        <loc>http://freeaddsgalore.me.uk/seopr.html/</loc>
        <lastmod>2006-10-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url> - <url>
        <loc>http://freeaddsgalore.me.uk/freetools.html/</loc>
        <lastmod>2006-10-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.8</priority>
    </url>
    <url>
        <loc>http://freeaddsgalore.me.uk/seopr.html/</loc>
        <lastmod>2006-10-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>
    <url>
        <loc>http://freeaddsgalore.me.uk/fapage2.html/</loc>
        <lastmod>2006-07-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>
</urlset>

Last edited by vishesh : Oct 20th, 2006 at 2:20 am.
Reply With Quote  
Join Date: Aug 2006
Location: braintree
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

Re: xml header trouble?

  #5  
Oct 20th, 2006
oh righty. thanks. i did have it working at one point untill i started using dreamweaver, might have inserted it automatically when i opened the file with dreamweaver.
thanks again for your help your a star
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote  
Join Date: Jul 2005
Location: india
Posts: 143
Reputation: katarey is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 15
katarey's Avatar
katarey katarey is offline Offline
Junior Poster

Re: xml header trouble?

  #6  
Oct 25th, 2006
hi there,

vishesh is right!

' - ' there was the problem

and also you can use this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset
  xmlns="http://www.google.com/schemas/sitemap/0.84"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84
                      http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">

 <url>
  <loc>http://freeaddsgalore.me.uk/</loc> 
  <lastmod>2006-10-08</lastmod> 
  <changefreq>weekly</changefreq> 
  <priority>1.0</priority> 
  </url>

Continue......


Rahul
Last edited by katarey : Oct 25th, 2006 at 12:37 pm.
Freelance Web Designer & Developer
Http//www.Katarey.com
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb RSS, Web Services and SOAP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the RSS, Web Services and SOAP Forum

All times are GMT -4. The time now is 9:39 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC