<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mastering Landing Pages &#187; Sitemaps</title>
	<atom:link href="http://www.masteringlandingpages.com/tag/sitemaps/feed" rel="self" type="application/rss+xml" />
	<link>http://www.masteringlandingpages.com</link>
	<description>Tutti i Segreti per Incrementare il Tasso di Conversione delle Tue Landing Page</description>
	<lastBuildDate>Tue, 06 Jul 2010 06:59:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Search Engine Optimization (seo) Guideline, A Guaranteed Blueprint.</title>
		<link>http://www.masteringlandingpages.com/motori-di-ricerca/seo/731/search-engine-optimization-seo-guideline-a-guaranteed-blueprint.php</link>
		<comments>http://www.masteringlandingpages.com/motori-di-ricerca/seo/731/search-engine-optimization-seo-guideline-a-guaranteed-blueprint.php#comments</comments>
		<pubDate>Tue, 16 Dec 2008 16:45:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>
		<category><![CDATA[Sitemaps]]></category>

		<guid isPermaLink="false">http://www.masteringlandingpages.com/motori-di-ricerca/seo/731/search-engine-optimization-seo-guideline-a-guaranteed-blueprint.php</guid>
		<description><![CDATA[Suppose you have a website about plastic surgery. You have invested a lot of time putting valuable information, videos, pictures, forms to enlist subscribers, free reports and the rest of good stuff. To your misfortune, you decide one day to Google your website out so you sit in front your PC, open your browser, open [...]]]></description>
			<content:encoded><![CDATA[<p>Suppose you have a website about plastic surgery. You have invested a lot of time putting valuable information, videos, pictures, forms to enlist subscribers, free reports and the rest of good stuff. To your misfortune, you decide one day to <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> your website out so you sit in front your PC, open your browser, open up <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> and type &#8220;plastic surgery&#8221; and hit the enter button. For the amount of work done which sure to be proud of you expect your website name and URL to be listed at least in the first 5 pages of the search results. To your dismay you keep looking and looking, but you don&#8217;t find even in the first 50 pages of the search results. Welcome to the latest internet age where the World Wide Web is saturated enough with millions and millions of websites that cover every topic and subject you can think of.<br /> In the past, it was relatively easy to have your website indexed and seen in the first few pages of search engine results, but it is much more difficult now. <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> in particular, the king of search engines, has been making life harder and harder for website owners and SEO specialists to get good ranking in its search results. To the point that even if you use pay per click campaigns or PPC (paying to get good rankings) and your website isn&#8217;t optimized, you still will not get good positions with cost effective bids on your ads! This is how hard it has become.</p>
<p> You probably heard of the short word SEO in many websites and forums, which is an abbreviation of <a href="http://www.masteringlandingpages.com/tag/search-engine-optimization" class="st_tag internal_tag" rel="tag" title="Post marcati con Search Engine Optimization">Search Engine Optimization</a>. In fact, I can assure you that you probably have heard of SEO many more times than the long word because everybody uses the short name. It is one of the hottest and most pursued topics in today&#8217;s saturated internet era and you should have probably guessed why by now if you have some knowledge about how search engines function. If not, don&#8217;t worry as this is why I&#8217;m writing this article.<br /> SEO is a set of optimization steps and procedures that website owners and programmers undertake to improve their ranking in organic (unsponsored) search engine results. Why is it important? Because if done, it translates to huge amounts of free traffic versus paying for it in sponsored results like pay per click campaigns. This by itself saves thousands of dollars of advertising costs which other advertisers pay gladly to attract traffic and make their ads placed in better positions in search engine results. One important point that I have to clarify is that distributing so many links pointing back to your website around the internet and getting free traffic from it doesn&#8217;t by itself mean that your website is optimized as many people might think. Your website is optimized only if you see your website address within the first 1 to 5 pages of the organic (unpaid) search engine results.</p>
<p> Now let&#8217;s get to the good stuff. How to optimize a website to be visible in the first few pages of search engine results. The rules that <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> demands have become harder and harder and a lot has to be done for a website to get to that sweet spot in the first page of <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> search results. I&#8217;m going to list the tasks that have to be done for maximum optimization of your website. All has to be done to get better results. Doing it needs time, dedication and might require probably some more knowledge about HTML and website structure. If you don&#8217;t have some background and haven&#8217;t used an HTML editor before, I recommend that you read more books or guides on the subject and practice a bit on a simple HTML editor like Front Page. Here are the tasks you have to do. Pay attention to the ranking:-</p>
<p> 1- Your website URL: &#8211; That&#8217;s the first thing to consider. Your domain name should be the first thing you optimize before anything else. Let&#8217;s go back to the plastic surgery website example. A good name would be &#8220;plasticsurgeon.com&#8221; or &#8220;plasticsurgery.com&#8221;. Notice that the URL directly clarifies what content is exactly in that website. In case if the words you chose were already taken by others, you can try alternative arrangement of words or come up with synonyms that serve the same meaning like &#8220;cosmeticsurgery.com&#8221; or &#8220;plasticbeauty.com&#8221;. A bad choice would be &#8220;beautylab.com&#8221; or &#8220;facefactory.com&#8221;. Notice how I used the &#8220;.com&#8221; in every example as this is what you should aim for. &#8220;.com&#8221; extensions are the preferred by search engines and more popular.</p>
<p> 2- Content is king: &#8211; If I have to say this thousand times I will! Have really good content in your website and I mean a minimum of 10 pages of original good content in your website. Original content means it is not duplicated a lot online, it is your own original work (not a copy), has reasonable, but not excessive keyword density, perfect spelling and grammatically correct and is rich and informative.</p>
<p> 3- Your website title: &#8211; No I don&#8217;t mean the title you have their on your website&#8217;s front page. I mean the title within the HTML code in your home page or is called the index. The index is the first page a browser will go to once your domain is called. Before the body tag and after the head tag there is a title tag. You have to fill in your website title in there to look for example like this &#8220;Plastic Surgery guide&#8221;. This is important because it is the first thing search engines will read to know what your website is all about. Your title has to be brief and to the point. 5 words maximum in my opinion.</p>
<p> 4- Your Meta tags: &#8211; These are important tags in your HTML code that serve many purposes. Search engine love them. You can find them right after the body tags previously mentioned. You can use your meta tags to:-</p>
<p> a. Describe your website:- Write a brief description about your website. Not too long though. 20 words max. Search engines will read this to know what your website is all about. For example &#8220;Plastic Surgery issues and topics. Know the pros and cons before you think about doing cosmetic surgery&#8221;</p>
<p> b. Keywords for your website:- Write the keywords relevant to your website topic. 5 to 10 highly relevant keyword is good. Don&#8217;t flood the keyword tag with non relevant keywords thinking you will attract more attention. For example:- plastic surgery, cosmetic surgery, face lift, bone construction, face restructuring etc.</p>
<p> c. To direct search engine crawlers to strictly follow only your home page or certain important pages in your website. Crawlers are used by search engines to find and index websites by sending robots or spiders to crawl pages and index them.</p>
<p> Apply as much of these meta tags on your website to suit your purposes specially the description and keyword tags.</p>
<p> 5- The headlines and the subheads in your content. It organizes the content and search engines will read it and will like your content because it is organized. You have to use HTML headline tags in the code around your headlines. Put level 1 head tags around your main headline and level 2, 3, 4 etc. or lower importance headlines.</p>
<p> 6- Use <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a>: A sitemap is a XML document that has the names and paths of all files and folders of your website. It is created and placed in the root directory of your website. The sitemap is really important for search engines because it serves like the directory for your website and shows the crawlers where the other pages of your website are so they can crawl and index them too. This is important because a search result can lead to any of your pages not only to your home page. Using <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a> you can also specify how often you want search engine spiders to crawl you website! You can create one for free in a website called XML-<a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a>.com. Once created, you should go to <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> webmasters tools page and add the sitemap so <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> crawlers can find its path.</p>
<p> 7- Use videos: &#8211; Search engines of these days like videos. Place a couple of nice videos in your website. You can make videos yourself or you can simply pick a video you like from YouTube, copy the imbed code and paste in the desired place into your HTML codethat&#8217;s it. <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> owns YouTube you know and they like videos!</p>
<p> 8- Use your images to be found: &#8211; Search engine love images. Make your website colorful with nice and relevant images. Place a description on your images that will lead to your website if an image search was done. In the HMTL code of your pictures place an &#8220;alt&#8221; tag and pick a good name for the picture that has keywords relevant to your website.</p>
<p> 9- Set up a blog and connect it to your website: &#8211; Choose word press (the most spread) or blog spot (<a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> owned). The kind of blog I&#8217;m talking about is a blog that is hosted by your own server and its files and folders exist in your website&#8217;s root folder not the blog&#8217;s server. A lot of hosting accounts have a feature in their c-panel for an easy 3 clicks blog setup. <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> likes blogs and it will help you a lot to have one.</p>
<p> 10- As many relevant links to your website as possible: &#8211; notice that I mentioned it late, not to degrade its importance, but simply to show that it isn&#8217;t the single most important thing in SEO. Try to make as many high ranking websites that have topics relevant to you link to your website. I mean one way link as 2 way reciprocal links will not work as before. Find high ranking websites about plastic and cosmetic surgery and ask them to link to you. You have to be creative to make them do it or offer something in return other than a link back to them! If they agree to link to you, the link text itself has to have keywords relevant to you!</p>
<p> As can be seen from all of the above, SEO is a lot of hard work! Even SEO companies that charge thousands of dollars and have specialized teams to optimize sites sometimes don&#8217;t achieve the significant results that they desire. Still, you are far better off applying the SEO techniques described above than doing nothing. It will definitely benefit your website in both the short and long term. A last piece of advice, if you really want to grab that number 1 position in the first page, it will be much easier by choosing a topic on a small niche. It might be something that you are not interested in, but it will help a lot.</p>
<p> Copyright note:- if you want to use this article for your content, you have to state the author and any links in the article or the resource box. If any of these are removed, it will be a violation of copyright and legal action can be exercised.
<p> <b>Autore</b><br /> for more information visit <a href="http://www.internet-business-and-money.com" target='_blank'>www.internet-business-and-money.com</a> </p>
<h3>Articoli Correlati</h3>
<ul class="related_post">
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/2647/guida-posizionamento-siti-web-su-google-ufficiale-in-italiano-pubblicato-dalla-grande-g.php" title="Guida posizionamento siti web su Google ufficiale in italiano pubblicato dalla Grande G">Guida posizionamento siti web su Google ufficiale in italiano pubblicato dalla Grande G</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/2557/come-aumentare-le-visite-del-tuo-blog-e-guida-posizionamento-nei-motori-di-ricerca-search-engine-optimization-seo.php" title="Come Aumentare Le Visite Del Tuo Blog E Guida Posizionamento Nei Motori Di Ricerca (Search Engine Optimization -SEO-)">Come Aumentare Le Visite Del Tuo Blog E Guida Posizionamento Nei Motori Di Ricerca (Search Engine Optimization -SEO-)</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/google/914/google-page-ranking-and-the-value-of-incoming-and-outgoing-links.php" title="Google Page Ranking And The Value Of Incoming And Outgoing Links">Google Page Ranking And The Value Of Incoming And Outgoing Links</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/905/seo-software-should-i-invest-in-seo-elite.php" title="Seo Software &#8211; Should I Invest In Seo Elite?">Seo Software &#8211; Should I Invest In Seo Elite?</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/878/on-page-search-engine-optimization-seo-primer.php" title="On-Page Search Engine Optimization (SEO) Primer">On-Page Search Engine Optimization (SEO) Primer</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.masteringlandingpages.com/motori-di-ricerca/seo/731/search-engine-optimization-seo-guideline-a-guaranteed-blueprint.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca</title>
		<link>http://www.masteringlandingpages.com/motori-di-ricerca/seo/1205/cheat-sheat-seo-schemi-e-diagrammi-con-le-regole-fondamentali-per-un-sito-per-i-motori-di-ricerca.php</link>
		<comments>http://www.masteringlandingpages.com/motori-di-ricerca/seo/1205/cheat-sheat-seo-schemi-e-diagrammi-con-le-regole-fondamentali-per-un-sito-per-i-motori-di-ricerca.php#comments</comments>
		<pubDate>Wed, 17 Sep 2008 15:19:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Indicizzazione]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Motori di Ricerca]]></category>
		<category><![CDATA[Sitemaps]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.masteringlandingpages.com/?p=1205</guid>
		<description><![CDATA[ a cura di Christian Castelli 
 Guida rapida all&#8217;ottimizzazione delle pagine web 
 In quest&#8217;articolo presentiamo una guida veloce di SEOmoz che tratta i punti salienti da ricordare quando sviluppiamo i nostri siti web al fine di renderli facilmente indicizzabili dai motori di ricerca. 
 1) Tag e attributi HTML importanti 

 &#60;title&#62;: &#232; [...]]]></description>
			<content:encoded><![CDATA[<div> a cura di Christian Castelli </div>
<h2> Guida rapida all&#8217;ottimizzazione delle pagine web </h2>
<p> In quest&#8217;articolo presentiamo <a href="http://www.seomoz.org/blog/the-web-developers-seo-cheat-sheet">una guida veloce di SEOmoz</a> che tratta i punti salienti da ricordare quando sviluppiamo i nostri siti web al fine di renderli facilmente indicizzabili dai <a href="http://www.masteringlandingpages.com/tag/motori-di-ricerca" class="st_tag internal_tag" rel="tag" title="Post marcati con Motori di Ricerca">motori di ricerca</a>. </p>
<h3> 1) <em>Tag e attributi HTML importanti</em> </h3>
<ul>
<li> <code>&lt;title&gt;</code>: &egrave; importante che il titolo di una pagina contenga una o pi&ugrave; parole chiave. Inoltre &egrave; raccomandabile inserire nel titolo la categoria a cui appartiene la pagina &egrave; il nome del sito web; </li>
<li> <code>&lt;h1&gt;</code>, <code>&lt;h2&gt;</code>, ecc: suddividere le parti principali della propria pagina attraverso gli header; </li>
<li> <code>&lt;b&gt;</code> / <code>&lt;strong&gt;</code>: mettere in grassetto le parole chiave; </li>
<li> <code>alt</code>: ricordarsi di mettere una descrizione per le immagini e di terminare il tag img con &#8220;/&#8221; nel caso facciate uso di XHTML; </li>
<li> <code>&lt;a title="keyword" rel="nofollow"</code>&#8230;.: mettete delle parole chiave come contenuto dei collegamenti ipertestuali. Ricordarsi di fornire una descrizione testuale del collegamento e di indicare se desiderate che il motore di ricerca non influenzi il page rank del target del collegamento (<a href="http://en.wikipedia.org/wiki/Nofollow">consulta Wikipedia a proposito</a>). </li>
</ul>
<h3> <em>2) Limiti di <a href="http://www.masteringlandingpages.com/tag/indicizzazione" class="st_tag internal_tag" rel="tag" title="Post marcati con Indicizzazione">indicizzazione</a> dei <a href="http://www.masteringlandingpages.com/tag/motori-di-ricerca" class="st_tag internal_tag" rel="tag" title="Post marcati con Motori di Ricerca">motori di ricerca</a></em> </h3>
<ul>
<li>non creare pagine che superino i <strong>150 KB</strong>; </li>
<li>non inserire pi&ugrave; di <strong>100 collegamenti ipertestuali</strong> in un&#8217;unica pagina; </li>
<li>non creare <strong>titoli</strong> pi&ugrave; lunghi di <strong>70 caratteri</strong> e descrizioni nei <strong>metadati</strong> che superino i <strong>155 caratteri</strong>; </li>
<li>non creare URL con pi&ugrave; di <strong>2 parametri</strong> e <strong>profondit&agrave;</strong> superiore a <strong>4 directory</strong>; </li>
</ul>
<h3> 3) Specificare l&#8217;indirizzo della home page </h3>
<ul>
<li>Usate una sintassi del tipo:</p>
<p> <code>http://www.miosito.com/</code></p>
<p> Si noti lo slash finale e la mancata specificazione di una pagina (<code>index.html/php/jsp/</code> &#8230;). Eventualmente se usate un server Apache potete usare dei redirezionamenti del browser attraverso delle direttive impostate nei file .htaccess (a riguardo potete leggere il mio articolo &#8220;<a href="http://www.webmasterpoint.org/php/tutorial/141-file-htaccess-configurazione-distribuita.asp">Introduzione al file. htaccess: a cosa serve?</a>&#8221; e consultare il prossimo punto). </li>
</ul>
<h3> 4) <em>Redirezionamenti del browser (codice 301)</em> </h3>
<p> <code>Redirect 301 /vecchiapagina.html http://www.nuovodominio.it/nuovapagina.html</code> </p>
<p> Redireziona il browser che ha fatto richiesto per una vecchia pagina alla pagina presente sul nuovo dominio. </p>
<p> <code>RewriteEngine on<br /> RewriteCond %{HTTP_HOST} ^miosito.it [NC]<br /> RewriteRule ^(.*)$ http://www.miosito.it/$1 [L,R=301]</code> </p>
<p> Porta il browser da <code>http://miosito.it</code> a <code>http://www.miosito.it</code>. Valido per l&#8217;intero sito. </p>
<p> <code>Redirect 301 / http://www.newdomain.com/<br /> Redirect permanent /old http://www.newdomain.com/new</code> </p>
<p> Effettua il redirezionamento dell&#8217;intero dominio verso uno nuovo (codice 301 &#8211; raccomandato &#8211; o 302). </p>
<h3> 5) <em>robots.txt e mappa del sito</em> </h3>
<p> Il file <code>robots.txt</code> d&agrave; indicazioni al web crawler di un motore di ricerca su cosa indicizzare o meno. Va detto che il motore di ricerca <strong>NON</strong> &egrave; tassativamente vincolato a quanto specificato in questo file di testo: questa &egrave; una convenzione a cui i <a href="http://www.masteringlandingpages.com/tag/motori-di-ricerca" class="st_tag internal_tag" rel="tag" title="Post marcati con Motori di Ricerca">motori di ricerca</a> possono aderire o meno. Per maggiori informazioni a riguardo si consulti &#8220;<a href="http://www.robotstxt.org/orig.html">A standard for robot exclusion</a>&#8221; oppure <a href="http://www.motoricerca.info/robots.phtml">motoricerca.info</a>, che mette a disposizione <a href="http://tool.motoricerca.info/analizzatore-robots.phtml">un tool d&#8217;analisi per file robots.txt.</a> </p>
<p> Uno strumento molto utile &egrave; la generazione di una mappa del vostro sito web. <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a>, <a href="http://www.masteringlandingpages.com/tag/yahoo" class="st_tag internal_tag" rel="tag" title="Post marcati con Yahoo">Yahoo</a> e <a href="http://www.masteringlandingpages.com/tag/microsoft" class="st_tag internal_tag" rel="tag" title="Post marcati con Microsoft">Microsoft</a> seguono <a href="http://www.sitemaps.org/">il protocollo Sitemap 0.9</a> (pubblicato sotto licenza Creative Common). Per quanto riguarda <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> potete trovare tutte le informazioni necessarie alla pagina &#8220;<a href="http://www.google.com/support/webmasters/bin/answer.py?hlrm=en&#038;answer=40318">Che cos&#8217;&egrave; un file sitemap e perch&eacute; dovrei averne uno?</a>&#8221; e si raccomanda l&#8217;utilizzo dei <a href="https://www.google.com/webmasters/tools/siteoverview">Web Master tools messi a disposizione di Google</a>, i quali forniscono indicazioni e informazioni riguardo il nostro sito web, fra cui le mappe fornite. </p>
<p> <a href="http://www.webmasterpoint.org/webmarketing/motori/SEO_Web_Developer_Cheat_Sheet.pdf">SCARICA I CHEAT SHEAT COMPLETI IN FORMATO PDF</a> </p>
<p align="left"><a href="http://www.webmasterpoint.org/" rel="nofollow" target="_blank" title="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic"><img src="/wp-content/uploads/images/cc_webmasterpoint.gif" alt="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic" border="0" /></a></p>
<h3>Articoli Correlati</h3>
<ul class="related_post">
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/3071/posizionamento-siti-su-google-le-novita-di-caffeine-trapelate-finora.php" title="Posizionamento siti su Google: le novità di Caffeine trapelate finora">Posizionamento siti su Google: le novità di Caffeine trapelate finora</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/1238/motori-di-ricerca-clusty-un-motore-di-ricerca-da-analizzare-e-considerare-con-attenzione.php" title="Motori di Ricerca: Clusty un motore di ricerca da analizzare e considerare con attenzione">Motori di Ricerca: Clusty un motore di ricerca da analizzare e considerare con attenzione</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/3279/feed-rss-aumento-visite-e-indicizzazione-motori-di-ricerca-siti-web-come-fare-al-meglio-tecniche-e-consigli.php" title="Feed Rss, aumento visite e indicizzazione motori di ricerca siti web: come fare al meglio. Tecniche e consigli">Feed Rss, aumento visite e indicizzazione motori di ricerca siti web: come fare al meglio. Tecniche e consigli</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/3011/microsoft-yahoo-accordo-e-alleanza-per-la-pubblicita-online-alcune-considerazioni.php" title="Microsoft-Yahoo: accordo e alleanza per la pubblicità online. Alcune considerazioni.">Microsoft-Yahoo: accordo e alleanza per la pubblicità online. Alcune considerazioni.</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/2997/microsoft-e-yahoo-accordo-fatto-cosa-prevede-lalleanza.php" title="Microsoft e Yahoo: accordo fatto. Cosa prevede l&#39;alleanza.">Microsoft e Yahoo: accordo fatto. Cosa prevede l&#39;alleanza.</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.masteringlandingpages.com/motori-di-ricerca/seo/1205/cheat-sheat-seo-schemi-e-diagrammi-con-le-regole-fondamentali-per-un-sito-per-i-motori-di-ricerca.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida alle Sitemaps: Generare una sitemaps in PHP</title>
		<link>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1090/guida-alle-sitemaps-generare-una-sitemaps-in-php.php</link>
		<comments>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1090/guida-alle-sitemaps-generare-una-sitemaps-in-php.php#comments</comments>
		<pubDate>Tue, 09 Sep 2008 05:57:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sitemaps]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.masteringlandingpages.com/?p=1090</guid>
		<description><![CDATA[ a cura di Guido Arata  
 In questo articolo scopriremo come creare, tramite PHP, una sitemap in XML che si auto-aggiorni traendo i dati relativi agli update dal database del portale relativo. Ecco un esempio di sitemap statica 
&#60;?xml version="1.0" encoding="UTF-8"?&#62;
&#60;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&#62;
	&#60;url&#62;
		&#60;loc&#62;http://www.example.com/&#60;/loc&#62;
		&#60;lastmod&#62;2005-01-01&#60;/lastmod&#62;
		&#60;changefreq&#62;monthly&#60;/changefreq&#62;
		&#60;priority&#62;0.8&#60;/priority&#62;
	&#60;/url&#62;
&#60;/urlset&#62;
 La prima tag ci dice che il linguaggio usato &#232; quello [...]]]></description>
			<content:encoded><![CDATA[<div> a cura di Guido Arata  </div>
<p> In questo articolo scopriremo come creare, tramite PHP, una sitemap in XML che si auto-aggiorni traendo i dati relativi agli update dal database del portale relativo. Ecco un esempio di sitemap statica </p>
<pre class="code">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;urlset xmlns="http://www.<a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a>.org/schemas/sitemap/0.9"&gt;
	&lt;url&gt;
		&lt;loc&gt;http://www.example.com/&lt;/loc&gt;
		&lt;lastmod&gt;2005-01-01&lt;/lastmod&gt;
		&lt;changefreq&gt;monthly&lt;/changefreq&gt;
		&lt;priority&gt;0.8&lt;/priority&gt;
	&lt;/url&gt;
&lt;/urlset&gt;</pre>
<p> La prima tag ci dice che il linguaggio usato &egrave; quello dell&#8217; XML, version 1.0 e che la cifratura &egrave; UTF-8, quella classica insomma. Per trarre dati da un database e rendere la sitemap aggiornabile dinamicamente, dobbiamo creare un nuovo file php (che chiameremo sitemap.php) con un recordset che ci aiuter&agrave; a muoverci tra i dati del database. Il tutto dovr&agrave; esser integrato dopo la tag &#8216;urlset&#8217; e finire prima dell&#8217; ultimo&#8217;url&#8217;. Vediamo nella pratica: </p>
<pre class='code'>
&lt;?php&lt;br&gt;
  $query = mysql_query ( &quot;SELECT * FROM articles ORDER BY ID DESC&quot; );&lt;br&gt;
  $row = mysql_fetch_assoc ( $query );&lt;/p&gt;
&lt;p&gt; echo '&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;' . &quot;&lt;br&gt;
  &quot;;&lt;br&gt;
  ?&gt;&lt;/p&gt;
&lt;p&gt;&lt;urlset xmlns=&quot;http://www.<a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a>.org/schemas/sitemap/0.9&quot;&gt;&lt;br&gt;
  &lt;?php&lt;br&gt;
  ############# BEGIN LOOP ############&lt;br&gt;
  do {&lt;br&gt;
  &lt;br&gt;
  $link = 'http://www.mydomain.com/articles.php?ID=' . $row['ID'];&lt;br&gt;
  $lastmod = ( $row['date_updated'] ) ? $row['date_updated'] : $row['date_added'];&lt;br&gt;
  $priority = 0.5;&lt;br&gt;
  $changefreq = 'monthly';&lt;br&gt;
  &lt;br&gt;
  ?&gt;&lt;br&gt;
  &lt;url&gt;&lt;br&gt;
  &lt;loc&gt;&lt;?=$link?&gt;&lt;/loc&gt;&lt;br&gt;
  &lt;lastmod&gt;&lt;?=$lastmod?&gt;&lt;/lastmod&gt;&lt;br&gt;
  &lt;priority&gt;&lt;?=$priority?&gt;&lt;/priority&gt;&lt;br&gt;
  &lt;changefreq&gt;&lt;?=$changefreq?&gt;&lt;/changefreq&gt;&lt;br&gt;
  &lt;/url&gt;&lt;br&gt;
  &lt;?php&lt;br&gt;
  } while ( $row = mysql_fetch_assoc ( $query ) );&lt;br&gt;
  ############# END LOOP ############&lt;br&gt;
  ?&gt;&lt;br&gt;
  &lt;/urlset&gt;
</pre>
<p> Da notare che abbiamo impostato a 0.5 la priorit&agrave; di ciascuna pagina che linka ad un singolo articolo, dal momento che queste, di solito, sono le meno aggiornate (una volta che un articolo &egrave; pubblicato &egrave; difficile che la pagina relativa subisca modifiche). Per il &#8216;lastomd&#8217; abbiamo usato l&#8217; ultima data nella quale l&#8217; articolo &egrave; stato modificato, e se ci&ograve; non &egrave; mai avvenuto, la data di quando &egrave; stato aggiunto al database. Dobbiamo poi effettuare alcuni controlli sulle stringhe, per renderle compatibili all&#8217; XHTML: </p>
<pre class='code'>
function do_xhtml ( $string ) {
        $string = stripslashes ( $string );
        $string = str_replace ( ''', ''', $string );
        $string = str_replace ( ''', ''', $string );
        $string = str_replace ( '?', '-', $string );
        $string = str_replace ( '?', '', $string );
        $string = str_replace ( '?', ', $string );
        $string = str_replace ( '?', ', $string );
        $string = str_replace ( '`', ', $string );
        return $string;
}
</pre>
<p> Insomma, come potete vedere con pochi semplici accorgimento, e tutto sommato poche linee di codice, siamo in grado di crearci una sitemap auto-aggiornabile, senza dover fare ricorso a servizi di terze parti. </p>
<p> Prima di lasciarvi, un piccolo accorgimento. Nel caso in cui il nostro portale sia di grandi dimensioni, e la sitemap debba pergiunta contenere migliaia di links, una sola sitemap non pu&ograve; bastare; <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> permette per&ograve; di risolvere il problema: bisogna creare una sitemap principale che linki ad altri files XML. In poche parole ci saranno pi&ugrave; <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a>, ciascuna relativa ad una determinata sezione del portale, ed una principale, i grado di richiamarle. Ecco in PHP come creare la sitemap che ne inglobi altre: </p>
<pre class='code'>
&lt;?php
     echo '&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;' . &quot;\r\n&quot;;
?&gt;
&lt;sitemapindex xmlns=&quot;http://www.<a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a>.org/schemas/sitemap/0.9&quot;&gt;
      &lt;sitemap&gt;
               &lt;loc&gt;http://www.mydomain.com/articles_sitemap.php&lt;/loc&gt;
               &lt;lastmod&gt;&lt;?=echo date ( 'Y-m-d' )?&gt;&lt;/lastmod&gt;
      &lt;/sitemap&gt;
      &lt;sitemap&gt;
               &lt;loc&gt;http://www.mydomain.com/scripts_sitemap.php&lt;/loc&gt;
               &lt;lastmod&gt;&lt;?=echo date ( 'Y-m-d' )?&gt;&lt;/lastmod&gt;
      &lt;/sitemap&gt;
      &lt;sitemap&gt;
               &lt;loc&gt;http://www.mydomain.com/resources_sitemap.php&lt;/loc&gt;
               &lt;lastmod&gt;&lt;?=echo date ( 'Y-m-d' )?&gt;&lt;/lastmod&gt;
      &lt;/sitemap&gt;
      &lt;sitemap&gt;
               &lt;loc&gt;http://www.mydomain.com/snippets_sitemap.php&lt;/loc&gt;
               &lt;lastmod&gt;&lt;?=echo date ( 'Y-m-d' )?&gt;&lt;/lastmod&gt;
       &lt;/sitemap&gt;
       &lt;sitemap&gt;
               &lt;loc&gt;http://www.mydomain.com/jobs_sitemap.php&lt;/loc&gt;
               &lt;lastmod&gt;&lt;?=echo date ( 'Y-m-d' )?&gt;&lt;/lastmod&gt;
       &lt;/sitemap&gt;
&lt;/sitemapindex&gt;
</pre>
<p>
<p align="left"><a href="http://www.webmasterpoint.org/" rel="nofollow" target="_blank" title="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic"><img src="/wp-content/uploads/images/cc_webmasterpoint.gif" alt="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic" border="0" /></a></p>
<h3>Articoli Correlati</h3>
<ul class="related_post">
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/731/search-engine-optimization-seo-guideline-a-guaranteed-blueprint.php" title="Search Engine Optimization (seo) Guideline, A Guaranteed Blueprint.">Search Engine Optimization (seo) Guideline, A Guaranteed Blueprint.</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/1205/cheat-sheat-seo-schemi-e-diagrammi-con-le-regole-fondamentali-per-un-sito-per-i-motori-di-ricerca.php" title="Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca">Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1087/guida-alle-sitemaps-creare-una-sitemaps-in-asp.php" title="Guida alle Sitemaps: Creare una sitemaps in ASP">Guida alle Sitemaps: Creare una sitemaps in ASP</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1011/guida-alle-sitemaps-che-cosa-e-una-sitemaps.php" title="Guida alle Sitemaps: Che cosa è una sitemaps?">Guida alle Sitemaps: Che cosa è una sitemaps?</a></li>
<li><a href="http://www.masteringlandingpages.com/web-marketing/3406/i-like-di-facebook-al-posto-dei-link-di-google-la-nuova-struttura.php" title="I like di Facebook al posto dei link di Google: la nuova struttura">I like di Facebook al posto dei link di Google: la nuova struttura</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1090/guida-alle-sitemaps-generare-una-sitemaps-in-php.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida alle Sitemaps: Creare una sitemaps in ASP</title>
		<link>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1087/guida-alle-sitemaps-creare-una-sitemaps-in-asp.php</link>
		<comments>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1087/guida-alle-sitemaps-creare-una-sitemaps-in-asp.php#comments</comments>
		<pubDate>Mon, 08 Sep 2008 07:34:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sitemaps]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.masteringlandingpages.com/?p=1087</guid>
		<description><![CDATA[ a cura di Guido Arata
 Oggi vediamo come generare una sitemap&#160; usando ASP. 
 Ecco il codice ASP per generare una sitemap per un webserver. La pagina si chiama sitemap_gen.asp : 

&#60;%
' sitemap_gen.asp
' A simple script to automatically produce sitemaps for a webserver, in the Google Sitemap Protocol (GSP)
' by Francesco Passantino
' www.iteam5.net/francesco/sitemap_gen
' v0.1 [...]]]></description>
			<content:encoded><![CDATA[<div> a cura di Guido Arata</div>
<p> Oggi vediamo come generare una sitemap&nbsp; usando ASP. </p>
<p> Ecco il codice ASP per generare una sitemap per un webserver. La pagina si chiama <i>sitemap_gen.asp</i> : </p>
<pre class='code'>
&lt;%
' sitemap_gen.asp
' A simple script to automatically produce <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a> for a webserver, in the <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> Sitemap Protocol (GSP)
' by Francesco Passantino
' www.iteam5.net/francesco/sitemap_gen
' v0.1  04.06.05
' v0.2  05.06.05 Listing a directory tree recursively improvement
' v0.3b 09.06.05 File exclusion by Calvin Dunkley
' v0.4  17.06.05 iso8601dates http://www.tumanov.com/projects/scriptlets/iso8601dates.asp
' v0.4b 18.06.05 vdrir bug fixed
' v0.4c 13.07.05 phisical dir patch for some windows systems
'
' BSD 2.0 license,
' http://www.opensource.org/licenses/bsd-license.php

'modificare in base al proprio dominio
session('server')='http://www.yourdomain.net'
vDir = '/'
phisicalDir='C:Inetpubwwwroot'

'Info qui http://www.time.gov/
utcOffset=1

set objfso = CreateObject('Scripting.FileSystemObject')
root = Server.MapPath(vDir)

response.ContentType = 'text/xml'
response.write '&lt;?xml version='1.0' encoding='UTF-8'?&gt;'
response.write '&lt;!-- generator='http://www.iteam5.net/francesco/sitemap_gen'--&gt;'
response.write '&lt;urlset xmlns='http://www.<a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">google</a>.com/schemas/sitemap/0.84'&gt;'

Set objFolder = objFSO.GetFolder(root)
'response.write getfilelink(objFolder.Path,objFolder.dateLastModified)
Set colFiles = objFolder.Files
For Each objFile In colFiles
        response.write getfilelink(objFile.Path,objfile.dateLastModified)
Next
ShowSubFolders(objFolder)

response.write '&lt;/urlset&gt;'
set fso = nothing

Sub ShowSubFolders(objFolder)
        Set colFolders = objFolder.SubFolders
        For Each objSubFolder In colFolders
                if folderpermission(objSubFolder.Path) then
                        response.write getfilelink(objSubFolder.Path,objSubFolder.dateLastModified)
                        Set colFiles = objSubFolder.Files
                        For Each objFile In colFiles
                                response.write getfilelink(objFile.Path,objFile.dateLastModified)
                        Next
                        ShowSubFolders(objSubFolder)
                end if
        Next
End Sub

Function getfilelink(file,data)
        file=replace(file,phisicalDir,'')
        file=replace(file,'','/')
        If FileExtensionIsBad(file) then Exit Function
        If FileNameIsBad(file) then Exit Function
        filelmdate=iso8601date(data,utcOffset)

        getfilelink = '&lt;url&gt;&lt;loc&gt;'&#038;server.htmlencode(session('server')&#038;file)&#038;'&lt;/loc&gt;&lt;lastmod&gt;'&#038;filelmdate&#038;'&lt;/lastmod&gt;&lt;priority&gt;1.0&lt;/priority&gt;&lt;/url&gt;'
        session('URLS')=session('URLS')+1
        Response.Flush
End Function

Function Folderpermission(pathName)
        'modificare qui per escludere un percorso
        PathExclusion=Array('   emp','_vti_cnf','_vti_pvt','_vti_log','cgi-bin')
        Folderpermission =True
        for each PathExcluded in PathExclusion
                if instr(ucase(pathName),ucase(PathExcluded))&gt;0 then
                        Folderpermission = False
                        exit for
                end if
        next
End Function

Function FileExtensionIsBad(sFileName)
        Dim sFileExtension, bFileExtensionIsValid, sFileExt
        'http://www.googleguide.com/file_type.html
        Extensions = Array('png','gif','jpg','zip','pdf','ps','html','htm','asp','wk1','wk2','wk3','wk4','wk5','wki','wks','wku','lwp','mw','xls','ppt','doc','wks','wps','wdb','wri','rtf','ans','txt')

        if len(trim(sFileName)) = 0 then
                FileExtensionIsBad = true
                Exit Function
        end if

        sFileExtension = right(sFileName, len(sFileName) - instrrev(sFileName, '.'))
        bFileExtensionIsValid = false   'assume extension is bad
        for each sFileExt in extensions
                if ucase(sFileExt) = ucase(sFileExtension) then
                        bFileExtensionIsValid = True
                        exit for
                end if
        next
        FileExtensionIsBad = not bFileExtensionIsValid
End Function

Function FileNameIsBad(sFileName)
        if len(trim(sFileName)) = 0 then
                FileNameIsBad = true
                Exit Function
        end if
        Filename = Array('/alive.asp','/404.asp','/500.asp','/sitemap_gen.asp')
        FileNameNumber = ubound(Filename)
        for i=0 to FileNameNumber
                if Filename(i) = sFileName then
                        FileNameIsBad = True
                end if
        next
End Function

Function iso8601date(dLocal,utcOffset)
        Dim d
        ' Converte l' ora locale in UTC
        d = DateAdd('H',-1 * utcOffset,dLocal)

        ' crea la data
        iso8601date = Year(d) &#038; '-' &#038; Right('0' &#038; Month(d),2) &#038; '-' &#038; Right('0' &#038; Day(d),2) &#038; 'T' &#038; _
                Right('0' &#038; Hour(d),2) &#038; ':' &#038; Right('0' &#038; Minute(d),2) &#038; ':' &#038; Right('0' &#038; Second(d),2) &#038; 'Z'
End Function
%&gt;
</pre>
<p> Di seguito, invece, il codice di sitemap_gen_db.asp , per generare una sitemap dinamica, auto-aggiornabile da database: </p>
<pre class='code'>
' by Francesco Passantino
' www.iteam5.net/francesco/sitemap_gen
' v0.1b released 5 june 2005
' v0.2  released 17 june 2005 iso8601dates http://www.tumanov.com/projects/scriptlets/iso8601dates.asp
' v0.2b released 28 july 2005 id_page=Server.URLEncode(rs('id')) to put words in id, thanks to Mike Kellogg
'
' BSD 2.0 license,
' http://www.opensource.org/licenses/bsd-license.php

MAXURLS_PER_SITEMAP = 50000

'modificare in base al proprio URL
baseurl='http://www.yoursite.com/default.asp?page='

xDb_Conn_Str = 'Provider=<a href="http://www.masteringlandingpages.com/tag/microsoft" class="st_tag internal_tag" rel="tag" title="Post marcati con Microsoft">Microsoft</a>.Jet.OLEDB.4.0;Data Source=' &#038; server.mappath('dbyourdb.mdb') &#038; ';'
strsql = 'SELECT * FROM yourtable'

'info su http://www.time.gov/
utcOffset=1

response.ContentType = 'text/xml'
response.write ''
response.write ''
response.write ''

Set conn = Server.CreateObject('ADODB.Connection')
conn.Open xDb_Conn_Str
Set rs = Server.CreateObject('ADODB.Recordset')
rs.Open strsql, conn
Do while not rs.eof
        if URLS1.0 then priority='1.0'

                response.write ''&#038;server.htmlencode(baseurl&#038;id_page)&#038;''&#038;filedate&#038;''&#038;priority&#038;''
                URLS=URLS+1
                Response.Flush
        rs.movenext
end if
Loop

response.write ''

rs.Close
Set rs = Nothing
conn.Close
Set conn = Nothing
</pre>
<p> Infine, lo script sitemap_gen_spider, per creare sitemap usando l&#8217; MSXML spider: </p>
<pre class='code'>
&lt;%
' sitemap_gen_spider.asp
' A simple script to automatically produce <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a> for a webserver, in the <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a> Sitemap Protocol (GSP)
' by Francesco Passantino
' www.iteam5.net/francesco/sitemap_gen
' v0.1 released 9 june 2005
' v0.2 released 17 june 2005 iso8601dates http://www.tumanov.com/projects/scriptlets/iso8601dates.asp
'
' BSD 2.0 license,
' http://www.opensource.org/licenses/bsd-license.php

'configurazione dello script
Url='http://www.yoursite.com/'
FinalDepth=3
LimitUrl=100
'lasciare sitemapDate vuoto se si vuole che appaia sitemapDate=now
sitemapDate=''
'da 0.1 a 1.0
sitemapPriority='0.7'
'valori possibili: always, hourly, daily, weekly, monthly, yearly, never
sitemapChangefreq='monthly'
'info su http://www.time.gov/
utcOffset=1

Dim objRegExp,objUrlArchive,strHTML,objMatch
Server.ScriptTimeout=300
set xmlhttp = CreateObject('MSXML2.ServerXMLHTTP')
Set objUrlArchive=Server.CreateObject('Scripting.Dictionary')
Set objRegExp = New RegExp
objRegExp.IgnoreCase = True
objRegExp.Global = True

'modificabili a piacimento
objRegExp.Pattern = 'href=(.*?)[s|&gt;]'
'per rimuovere elementi dagli url html
RemoveText=array('&lt;','&gt;','a href=',chr(34),''','href=')
'per escludere elementi dagli URL
ExcludeUrl=array('mailto:','javascript:','.css','.ico')

'si si vuole che risulti sitemapDate=now
if sitemapDate='' then filelmdate=now()

sitemapDate=iso8601date(filelmdate,utcOffset)

crawl url,0

For Depth=0 to FinalDepth
        arrUrl=objUrlArchive.Keys
        arrDepth=objUrlArchive.Items
        For LoopUrl= 0 to ubound(arrurl)-1

                'debugging
                'response.write '&lt;!-- pagefound=''&#038;loopurl&#038;''--&gt;'

                crawl url&#038;'/'&#038;arrUrl(LoopUrl),Depth

                'se si vuole limitare il numero amssimo di URL
                'if objUrlArchive.Count-1&gt;LimitUrl then exit for

        Next
        erase arrUrl
        erase arrDepth
Next

' crea l' XML
arrUrl=objUrlArchive.Keys
arrDepth=objUrlArchive.Items
response.ContentType = 'text/xml'
response.write '&lt;?xml version='1.0' encoding='UTF-8'?&gt;'
response.write '&lt;!-- generator='http://www.iteam5.net/francesco/sitemap_gen'--&gt;'
response.write '&lt;!-- pagefound=''&#038;ubound(arrurl)&#038;''--&gt;'
response.write '&lt;urlset xmlns='http://www.<a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">google</a>.com/schemas/sitemap/0.84'&gt;'
For LoopUrl=0 to ubound(arrurl)-1
        response.write '&lt;url&gt;'
        response.write '&lt;loc&gt;'&#038;server.htmlencode(url&#038;arrUrl(LoopUrl))&#038;'&lt;/loc&gt;'
        response.write '&lt;lastmod&gt;'&#038;sitemapDate&#038;'&lt;/lastmod&gt;'
        response.write '&lt;priority&gt;'&#038;sitemapPriority&#038;'&lt;/priority&gt;'
        response.write '&lt;changefreq&gt;'&#038;sitemapChangefreq&#038;'&lt;/changefreq&gt;'
        response.write '&lt;/url&gt;'
Next
response.write '&lt;/urlset&gt;'

erase arrUrl
erase arrDepth
objUrlArchive.RemoveAll()
set xmlhttp = nothing

Sub crawl(url,depth)
        xmlhttp.open 'GET', url, false
        xmlhttp.send ''
        strHTML = xmlhttp.responseText

        For Each objMatch in objRegExp.Execute(strHTML)
                for i=0 to ubound(excludeUrl)
                        if instr(objmatch,excludeUrl(i))&gt;0 then objmatch=''
                next
                if objmatch&lt;&gt;'' then
                        for i=0 to ubound(RemoveText)
                                objMatch=replace(lcase(objMatch),lcase(RemoveText(i)),'')
                        next
                        'in alcune occasioni &egrave; meglio sostituire con if left(objMatch,len(url))=Url then
                        if instr(objMatch,'http://')=0 and objmatch&lt;&gt;'' then
                                if objUrlArchive.Exists(objMatch)=false then
                                        objUrlArchive.Add objMatch,depth

                                        'debugging
                                        'response.write objmatch&#038;'&lt;br&gt;'
                                        'response.flush

                                end if
                        end if
                end if
        Next
End Sub

Function iso8601date(dLocal,utcOffset)
        Dim d
        ' converte l' ora locale in UTC
        d = DateAdd('H',-1 * utcOffset,dLocal)

        ' compone da data
        iso8601date = Year(d) &#038; '-' &#038; Right('0' &#038; Month(d),2) &#038; '-' &#038; Right('0' &#038; Day(d),2) &#038; 'T' &#038; _
                Right('0' &#038; Hour(d),2) &#038; ':' &#038; Right('0' &#038; Minute(d),2) &#038; ':' &#038; Right('0' &#038; Second(d),2) &#038; 'Z'
End Function
%&gt;
</pre>
<p><a href="http://www.webmasterpoint.org/" rel="nofollow" target="_blank" title="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic"><img src="/wp-content/uploads/images/cc_webmasterpoint.gif" alt="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic" border="0" /></a></p>
<h3>Articoli Correlati</h3>
<ul class="related_post">
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/1205/cheat-sheat-seo-schemi-e-diagrammi-con-le-regole-fondamentali-per-un-sito-per-i-motori-di-ricerca.php" title="Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca">Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca</a></li>
<li><a href="http://www.masteringlandingpages.com/web-marketing/3285/internet-nel-2009-in-italia-e-nel-mondo-i-principali-avvenimenti.php" title="Internet nel 2009 in Italia e nel mondo: i principali avvenimenti">Internet nel 2009 in Italia e nel mondo: i principali avvenimenti</a></li>
<li><a href="http://www.masteringlandingpages.com/web-marketing/3270/google-dashboard-tutti-i-dati-che-google-sa-di-te-nuovo-servizio-per-la-gestione-account.php" title="Google Dashboard: tutti i dati che Google sa di te. Nuovo servizio per la gestione account.">Google Dashboard: tutti i dati che Google sa di te. Nuovo servizio per la gestione account.</a></li>
<li><a href="http://www.masteringlandingpages.com/web-marketing/3107/guadagnare-con-un-sito-web-e-le-news-e-gli-articoli-pubblicati-google-pensa-ai-micropagamenti.php" title="Guadagnare con un sito web e le news e gli articoli pubblicati: Google pensa ai micropagamenti">Guadagnare con un sito web e le news e gli articoli pubblicati: Google pensa ai micropagamenti</a></li>
<li><a href="http://www.masteringlandingpages.com/web-marketing/google-adwords/3079/google-adsense-e-pubblicita-su-internet-apertura-a-investitori-terzi.php" title="Google Adsense e pubblicità su Internet: apertura a investitori terzi.">Google Adsense e pubblicità su Internet: apertura a investitori terzi.</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1087/guida-alle-sitemaps-creare-una-sitemaps-in-asp.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida alle Sitemaps: Creare una sitemaps &#8211; Teoria</title>
		<link>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1034/guida-alle-sitemaps-creare-una-sitemaps-teoria.php</link>
		<comments>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1034/guida-alle-sitemaps-creare-una-sitemaps-teoria.php#comments</comments>
		<pubDate>Fri, 05 Sep 2008 06:35:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sitemaps]]></category>

		<guid isPermaLink="false">http://www.masteringlandingpages.com/?p=1034</guid>
		<description><![CDATA[ a cura di Guido Arata  
 Abbiamo recentemente fatto chiarezza su cosa sia una sitemap e ora, come promesso, andiamo ad analizzare nella teoria come crearne una (a breve seguir&#224; pure la messa in pratica di quanto scritto qui sotto). 
 Usare un editor testuale 
 Innanzitutto abbiamo bisogno di un qualsiasi editor [...]]]></description>
			<content:encoded><![CDATA[<div> a cura di Guido Arata  </div>
<p> Abbiamo recentemente fatto chiarezza su cosa sia una sitemap e ora, come promesso, andiamo ad analizzare nella teoria come crearne una (a breve seguir&agrave; pure la messa in pratica di quanto scritto qui sotto). </p>
<p> <b>Usare un editor testuale</b> </p>
<p> Innanzitutto abbiamo bisogno di un qualsiasi editor testuale, dal notepad di Windows a qualsiasi altra evoluzione. All&#8217; interno del documento dobbiamo scrivere tutti, ma proprio tutti, sottoforma di elenco, i links del nostro sito. </p>
<p> <b>Controllare ciascun link</b> </p>
<p> Naturalmente dovremo testare ciascun link inserito, per assicurarci che non vi siano errori o che le pagine non vengano trovate. </p>
<p> <b>Piazzare un link alla sitemap</b> </p>
<p> A questo punto dobbiamo linkare la sitemap nel nostro sito, quindi ad esempio piazziamo nel footer della home un linka d essa, cos&igrave; che tanto i bot quanto i visitatori in carne ed ossa possano accedervi. </p>
<p> Difficile? Ma no di certo. Il problema si pone per&ograve; nel momento in cui il portale &egrave; dinamico e quindi in continuo e costante aggiornamento. Bisogna ricreare ogni giorno, talvolta pi&ugrave; volte al giorno, la sitemap, e farlo manualmente risulta assai scomodo. Come ovviare al problema? Esistono fortunatamente <a title="craere sitemaap" href="http://www.xml-sitemaps.com/" target='_blank'>diversi servizi</a> che creano senza patemi una perfetta sitemap, l&#8217; unica cosa da fare &egrave; fornire loro l&#8217; URL del portale. Ovviamente comunque maggiore &egrave; il grado di personalizzazione della sitemap richiesto, pi&ugrave; &egrave; basilare crearsi la propria sitemap manualmente. E la scelta va ponderata attentamente: s&igrave; che usare servizi come quelli descritti poco sopra &egrave; comodo, ma va tenuta presente l&#8217; importanza di una sitemap: il Web ormai &egrave; ricco di contenuti, una buona sitemap permette ai bot di indicizzarli al meglio e di presentarli di conseguenza, in maniera pertinente, agli utenti. Vale dunque la pena prestarvi grande attenzione, a costo di perdervi diverse ore di lavoro. </p>
<p>
<p align="left"><a href="http://www.webmasterpoint.org/" rel="nofollow" target="_blank" title="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic"><img src="/wp-content/uploads/images/cc_webmasterpoint.gif" alt="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic" border="0" /></a></p>
<h3>Articoli Correlati</h3>
<ul class="related_post">
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/731/search-engine-optimization-seo-guideline-a-guaranteed-blueprint.php" title="Search Engine Optimization (seo) Guideline, A Guaranteed Blueprint.">Search Engine Optimization (seo) Guideline, A Guaranteed Blueprint.</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/1205/cheat-sheat-seo-schemi-e-diagrammi-con-le-regole-fondamentali-per-un-sito-per-i-motori-di-ricerca.php" title="Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca">Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1090/guida-alle-sitemaps-generare-una-sitemaps-in-php.php" title="Guida alle Sitemaps: Generare una sitemaps in PHP">Guida alle Sitemaps: Generare una sitemaps in PHP</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1087/guida-alle-sitemaps-creare-una-sitemaps-in-asp.php" title="Guida alle Sitemaps: Creare una sitemaps in ASP">Guida alle Sitemaps: Creare una sitemaps in ASP</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1011/guida-alle-sitemaps-che-cosa-e-una-sitemaps.php" title="Guida alle Sitemaps: Che cosa è una sitemaps?">Guida alle Sitemaps: Che cosa è una sitemaps?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1034/guida-alle-sitemaps-creare-una-sitemaps-teoria.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida alle Sitemaps: Che cosa è una sitemaps?</title>
		<link>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1011/guida-alle-sitemaps-che-cosa-e-una-sitemaps.php</link>
		<comments>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1011/guida-alle-sitemaps-che-cosa-e-una-sitemaps.php#comments</comments>
		<pubDate>Thu, 04 Sep 2008 05:50:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sitemaps]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Motori di Ricerca]]></category>

		<guid isPermaLink="false">http://www.masteringlandingpages.com/?p=1011</guid>
		<description><![CDATA[a cura di Guido Arata
 Cos&#8217;&#232; una sitemap? 
 Con sitemap intendiamo prevalentemente un singolo file in formato XML (Extensible Markup Language) e precisiamo che &#232; stato Google, nel 2005, ad inventare e pubblicare il Sitemap Protocol, il quale permette ai webmasters di far conoscere ai motori di ricerca quali pagine del proprio sito indicizzare, [...]]]></description>
			<content:encoded><![CDATA[<div>a cura di Guido Arata</div>
<p> <i><b>Cos&#8217;&egrave; una sitemap?</b></i> </p>
<p> Con sitemap intendiamo prevalentemente un singolo file in formato XML (Extensible Markup Language) e precisiamo che &egrave; stato <a href="http://www.masteringlandingpages.com/tag/google" class="st_tag internal_tag" rel="tag" title="Post marcati con Google">Google</a>, nel 2005, ad inventare e pubblicare il Sitemap Protocol, il quale permette ai webmasters di far conoscere ai <a href="http://www.masteringlandingpages.com/tag/motori-di-ricerca" class="st_tag internal_tag" rel="tag" title="Post marcati con Motori di Ricerca">motori di ricerca</a> quali pagine del proprio sito indicizzare, evitando che i loro bot se ne <i>dimentichino</i> qualcuna. Accanto a questo, un&#8217; altra funzione &egrave; quella di fornire altri parametri ai <a href="http://www.masteringlandingpages.com/tag/motori-di-ricerca" class="st_tag internal_tag" rel="tag" title="Post marcati con Motori di Ricerca">motori di ricerca</a>, relativi sia a come indicizzare ciascuna pagina segnalata sia alle pagine stesse (frequenza di aggiornamento, ad esempio). </p>
<p> Attenzione per&ograve;, perch&egrave; le <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a> sono solo uno strumento che semplifica la vita ai <a href="http://www.masteringlandingpages.com/tag/motori-di-ricerca" class="st_tag internal_tag" rel="tag" title="Post marcati con Motori di Ricerca">motori di ricerca</a>, ma ci&ograve; non significa che senza una <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a> il sito non viene indicizzato; cos&igrave; come non significa che una <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a> migliori sempre il posizionamento del sito stesso; ad esempio, un portale strutturato in maniera pulita e semplice non avr&agrave; bisogno di una <a href="http://www.masteringlandingpages.com/tag/sitemaps" class="st_tag internal_tag" rel="tag" title="Post marcati con Sitemaps">sitemaps</a>, perch&egrave; i bot dei <a href="http://www.masteringlandingpages.com/tag/motori-di-ricerca" class="st_tag internal_tag" rel="tag" title="Post marcati con Motori di Ricerca">motori di ricerca</a> non avranno difficolt&agrave; ed analizzarne le pagine senza perderne alcuna. </p>
<p> Avere una sitemap &egrave; comunque un vantaggio; infatti la frequenza con al quale i bot dei <a href="http://www.masteringlandingpages.com/tag/motori-di-ricerca" class="st_tag internal_tag" rel="tag" title="Post marcati con Motori di Ricerca">motori di ricerca</a> visitano il nostro sito non &egrave; costante, e talvolta possono passare settimane tra una visita e l&#8217; altra; &egrave; quindi importante sfruttare al massimo l&#8217; occasione nella quale tali bot si presentano sul sito, fornendo loro maggiori informazioni possibili sulle nostre pagine, ossia fornendo loro una sitemap. E come facciamo a far capire a questi bot che il nostro sito &egrave; dotato di sitemap? Possiamo aspettare che los coprano da soli, ma possiamo pure segnalarglielo, tramite il file robots.txt. Per far ci&ograve; baster&agrave; aprire tale file ed aggiungervi la riga: </p>
<p> <i>Sitemap: http://www.sitodiesempio.it/sitemap.xml</i> </p>
<p> Sarebbe un peccato faticare per costruire una bella sitemap, e scoprire dopo mesi che i bot non la hanno mai individuata! </p>
<p> Tra qualche giorno torneremo per raccontarvi come creare una sitemap. </p>
<p>
<p align="left"><a href="http://www.webmasterpoint.org/" rel="nofollow" target="_blank" title="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic"><img src="/wp-content/uploads/images/cc_webmasterpoint.gif" alt="WebMasterPoint.org - Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic" border="0" /></a></p>
<h3>Articoli Correlati</h3>
<ul class="related_post">
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/seo/1205/cheat-sheat-seo-schemi-e-diagrammi-con-le-regole-fondamentali-per-un-sito-per-i-motori-di-ricerca.php" title="Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca">Cheat Sheat SEO: schemi e diagrammi con le regole fondamentali per un sito per i motori di ricerca</a></li>
<li><a href="http://www.masteringlandingpages.com/web-marketing/3369/web-marketing-conoscenze-attivita-competenze-sono-sempre-di-piu-e-piu-complesse-da-possedere-e-pochissime-aziende-italiane-ne-paiono-consapevoli.php" title="Web Marketing: conoscenze, attività, competenze sono sempre di più e più complesse da possedere. E pochissime aziende italiane ne paiono consapevoli.">Web Marketing: conoscenze, attività, competenze sono sempre di più e più complesse da possedere. E pochissime aziende italiane ne paiono consapevoli.</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/3071/posizionamento-siti-su-google-le-novita-di-caffeine-trapelate-finora.php" title="Posizionamento siti su Google: le novità di Caffeine trapelate finora">Posizionamento siti su Google: le novità di Caffeine trapelate finora</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/3011/microsoft-yahoo-accordo-e-alleanza-per-la-pubblicita-online-alcune-considerazioni.php" title="Microsoft-Yahoo: accordo e alleanza per la pubblicità online. Alcune considerazioni.">Microsoft-Yahoo: accordo e alleanza per la pubblicità online. Alcune considerazioni.</a></li>
<li><a href="http://www.masteringlandingpages.com/motori-di-ricerca/2997/microsoft-e-yahoo-accordo-fatto-cosa-prevede-lalleanza.php" title="Microsoft e Yahoo: accordo fatto. Cosa prevede l&#39;alleanza.">Microsoft e Yahoo: accordo fatto. Cosa prevede l&#39;alleanza.</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.masteringlandingpages.com/motori-di-ricerca/sitemaps/1011/guida-alle-sitemaps-che-cosa-e-una-sitemaps.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

