• 23-02-2009, 10:50:55
    #1
    HATA:XML Ayrıştırma Hatası: iyi düzenlenmiş değilLocation: http://www.mysite.com/sitemap3.xmlLine Number 8, Column 2:<%
    -^

    -----

    <?xml version="1.0" encoding="UTF-8"?>
    <urlset
          xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
                http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
    			
    			<!--#include file="baglanti.asp"-->
    <!--#include file="valeyntra/func.asp"-->
                
    <%
    
    
    
    Tarih = Year(Date) & "-" & Month(Date) & "-" & Day(Date)
    SQL = "SELECT id FROM otel ORDER BY id DESC"
    rs.Open SQL,Connection_DSN,1,3
    do while Not rs.Eof
    id = rs("otelID")
    ad= rs("otelAd")
    
    %>
    <url>
    <title><?=ad?></title>
    <loc>http://www.mysite.com/otel/<%=linkle(otelad(id))%>/<%=id%></loc>
    <lastmod><%=Tarih%></lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
    </url>
    <%
    rs.MoveNext
    Loop
    rs.Close
    %>
    </urlset>
    nedendir ? teşekkür ederim
  • 24-02-2009, 19:37:40
    #2
    Üyeliği durduruldu
    dostum .xml uzantılı dosyaların içerisinde asp işletemezsin! sitemap.asp oluşturum aynı kodları içine yaz, asp hostta çalıştırmayı dene bir! yine de hata verirse include ettiğin valeyntra/func.asp dosyasını incele