Seite 1 von 1

Sitemaps?!

Verfasst: 30.06.2005, 09:50
von erzengel_2002
Ich habe die Seitemap Datei erstellen lassen:

Code: Alles auswählen

<?xml version="1.0" encoding="UTF-8" ?>
<urlset
    xmlns="http&#58;//www.google.com/schemas/sitemap/0.84"
    xmlns&#58;xsi="http&#58;//www.w3.org/2001/XMLSchema-instance"
    xsi&#58;schemaLocation="http&#58;//www.google.com/schemas/sitemap/0.84
                          http&#58;//www.google.com/schemas/sitemap/0.84/sitemap.xsd">
<url>
    <loc>http&#58;//www.meinname.de/</loc>
    <lastmod>2005-06-30</lastmod>
    <priority>1.0</priority>
</url>
....
...
....
Lies sich auch als XML Datei anzeigen, nur dann sagte google mir das es validert werden muss.
BAUM!?


Bei google stand zu validerung das :

Code: Alles auswählen

<?xml version="1.0" encoding="UTF-8" ?>
<xsd&#58;schema xmlns&#58;xsd="http&#58;//www.w3.org/2001/XMLSchema"
 targetNamespace="http&#58;//www.google.com/schemas/sitemap/0.84"
 xmlns="http&#58;//www.google.com/schemas/sitemap/0.84">
<xsd&#58;annotation>
  <xsd&#58;documentation>
    XML Schema for Sitemap index files.
    Last Modifed 2005-05-24
  </xsd&#58;documentation>
</xsd&#58;annotation>

<xsd&#58;element name="sitemapindex">
  <xsd&#58;annotation>
    <xsd&#58;documentation>
      Container for a set of up to 1,000 sitemap URLs.
      This is the root element of the XML file.
    </xsd&#58;documentation>
  </xsd&#58;annotation>
  <xsd&#58;complexType>
    <xsd&#58;sequence>
      <xsd&#58;element ref="sitemap" maxOccurs="1000"/>
    </xsd&#58;sequence>
  </xsd&#58;complexType>
</xsd&#58;element>

<xsd&#58;element name="sitemap">
  <xsd&#58;annotation>
    <xsd&#58;documentation>
      Container for the data needed to describe a sitemap.
    </xsd&#58;documentation>
  </xsd&#58;annotation>
  <xsd&#58;complexType>
    <xsd&#58;all>
      <xsd&#58;element ref="loc"/>
      <xsd&#58;element ref="lastmod" minOccurs="0"/>
    </xsd&#58;all>
  </xsd&#58;complexType>
</xsd&#58;element>

<xsd&#58;element name="loc">
  <xsd&#58;annotation>
    <xsd&#58;documentation>
      REQUIRED&#58; The location URI of a sitemap.
      The URI must conform to RFC 2396 &#40;http&#58;//www.ietf.org/rfc/rfc2396.txt&#41;.
    </xsd&#58;documentation>
  </xsd&#58;annotation>
  <xsd&#58;simpleType>
    <xsd&#58;restriction base="xsd&#58;anyURI">
      <xsd&#58;minLength value="12"/>
      <xsd&#58;maxLength value="2048"/>
    </xsd&#58;restriction>
  </xsd&#58;simpleType>
</xsd&#58;element> 

<xsd&#58;element name="lastmod">
  <xsd&#58;annotation>
    <xsd&#58;documentation>
      OPTIONAL&#58; The date the sitemap was last modified. The date must conform
      to ISO 8601 &#40;http&#58;//www.w3.org/TR/NOTE-datetime&#41;. Example&#58; 2005-05-10
      Lastmod may also contain a timestamp. Example&#58; 2005-05-10T17&#58;33&#58;30+08&#58;00
    </xsd&#58;documentation>
  </xsd&#58;annotation>
  <xsd&#58;simpleType>
    <xsd&#58;restriction base="xsd&#58;string">
      <xsd&#58;minLength value="10"/>
      <xsd&#58;maxLength value="25"/>
    </xsd&#58;restriction>
  </xsd&#58;simpleType>
</xsd&#58;element> 

</xsd&#58;schema>
ok hab ich eingefügt aber geht nicht :S. was ist den nun der Fehler?

Verfasst:
von

Sitemaps?!

Verfasst: 30.06.2005, 10:08
von Racker
Bei mir klappt es so

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="https://www.google.com/schemas/sitemap/0.84">
<url>
<loc>https://www.xxxxx.de/blah.php
</loc>
<lastmod>2005-06-29</lastmod>
<changefreq>weekly</changefreq>
<priority>0.1</priority>
</url>

Das habe ich aber nicht drin. Vieleicht mal raus nehmen?
xmlns="https://www.google.com/schemas/sitemap/0.84"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"

Katja

re:

Verfasst: 30.06.2005, 10:14
von erzengel_2002
und warum dann bei mir nicht :(?!

Die seite ist mit einem php CMS und benutzt eine mysql Datenbank..

Re: Sitemaps?!

Verfasst: 30.06.2005, 10:20
von erzengel_2002
Katja hat geschrieben: Das habe ich aber nicht drin. Vieleicht mal raus nehmen?
xmlns="https://www.google.com/schemas/sitemap/0.84"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"

Katja
DAs hat mir ein Generator gemacht, als ich versucht habe das selbst zu schreiben anhand von beispielen, ging es nicht, also hab ich mir ein generator gesucht. funktioniert auch soweit ganz gut...
https://www.web-design-pros.ca/software ... rator.html

Sitemaps?!

Verfasst: 30.06.2005, 10:53
von Racker
ich kenne das Teil nicht aber nimm das doch mal raus
xmlns="https://www.google.com/schemas/sitemap/0.84"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"

wie ich oben schon geschrieben habe
Katja

re

Verfasst: 30.06.2005, 11:00
von erzengel_2002
ja hab ich gemacht, aber bei google dauert das ja seine zeit ;)! 42 min schon lach

Sitemaps?!

Verfasst: 30.06.2005, 11:27
von erzengel_2002
wow ich bin aktuell gecrawlt :D. Kann man das gleiche script für yahoo oder ähnliche benutzen?

Danke Katja :)

Sitemaps?!

Verfasst: 30.06.2005, 11:43
von Racker
N.P
Bis jetzt hat wohl nur Google diese Funktion
Katja

Sitemaps?!

Verfasst: 30.06.2005, 11:49
von erzengel_2002
Guck mal auf https://www.webcrawler.de/

angeblich können das folgende Suchmaschinen:
Google•Overture•Inktomi•Yahoo•Ask Jeeves•Espotting
Mirago•MetaSearch Picks•Open Directory

aber hab noch nicht weiter danach geschaut, dachte nur jemand wüsste da was ;)!