• 09-01-2009, 03:16:35
    #1
    mesela, sitemap.xml içinde otomatik olarak dönen asp kod çalıştırabilirmiyiz?

    biraz uğraştım olmadı, bi yolunu bilen var mı?
  • 09-01-2009, 03:19:06
    #2
    Sitemapı .asp olarakta yollayabiliyosun google'a, bide şuraya bi göz at.
  • 09-01-2009, 03:34:39
    #3
    Peksoft adlı üyeden alıntı: mesajı görüntüle
    Sitemapı .asp olarakta yollayabiliyosun google'a, bide şuraya bi göz at.
    nasıl?
  • 09-01-2009, 03:42:20
    #4
    Google webmastertoosl'a girip, ekli olan sitene tıklayıp, site haritaları linkine tıklayıp ordaki kutucuğa, sitemapdosyan.asp yazıp enter tuşuna bi defa tıklıyosun.
    Ben bu şeilde kullanıyorum;
    <?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"-->
    <url>
      <loc>http://www.siteadin.com</loc>
      <priority>1.0</priority>
      <changefreq>daily</changefreq>
    </url>
    <%
    Set oku = baglanti.execute("select * from yazilar order by id desc")
    Do while not oku.eof
    link = oku("link")
    %>
    <url>
      <loc>http://www.siteadin.com/oku/<%=link%>.html</loc>
      <priority>0.5</priority>
      <changefreq>daily</changefreq>
    </url>
    <%
    oku.movenext
    loop
    oku.close
    set oku = nothing
    %></urlset>
  • 09-01-2009, 03:49:57
    #5
    Peksoft adlı üyeden alıntı: mesajı görüntüle
    Google webmastertoosl'a girip, ekli olan sitene tıklayıp, site haritaları linkine tıklayıp ordaki kutucuğa, sitemapdosyan.asp yazıp enter tuşuna bi defa tıklıyosun.
    Ben bu şeilde kullanıyorum;
    <?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"-->
    <url>
      <loc>http://www.siteadin.com</loc>
      <priority>1.0</priority>
      <changefreq>daily</changefreq>
    </url>
    <%
    Set oku = baglanti.execute("select * from yazilar order by id desc")
    Do while not oku.eof
    link = oku("link")
    %>
    <url>
      <loc>http://www.siteadin.com/oku/<%=link%>.html</loc>
      <priority>0.5</priority>
      <changefreq>daily</changefreq>
    </url>
    <%
    oku.movenext
    loop
    oku.close
    set oku = nothing
    %></urlset>
    tammdır, teşekkürler