header('Content-Type: application/xml');
print ('');
print ('
print ('
print ('
print ('http://www.miweb.com/');
print ('
print ('
print ('
$link = mysql_connect("localhost", "usuario_base_de_datos", "contraseña_base_de_datos");
mysql_select_db("nombre_base_de_datos", $link);
$result = mysql_query("SELECT * FROM nombre_de_tabla ORDER BY campo_id DESC LIMIT 0,3000", $link );
while ($row = mysql_fetch_array ($result))
{
print ('
print ('
print ('http://www.miweb.com/mipagina'.$row["campo_id"].'.html');
print ('
print ('
print ('
}
mysql_free_result($result);
print ('
?>
Todo lo que esta en color rojo , debes modificarlo para que se ajuste a tu sitio web y a la base de datos.
Para que los archivos php queden como paginas en html y el sitemap en xml , debes modificar o crear en el caso que no tengas, el archivo .htaccess, bueno lo que es .htaccess se puede perfeccionar con otros sitios web especializados en el tema.
http://www.mediafire.com/file/ydtjmwjizjt/sitemap_automatico_phpsimple.zip
4 comentarios:
Predilection casinos? grill this latest [url=http://www.realcazinoz.com]casino[/url] amuse and reach the top at up online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our up to obsolete [url=http://freecasinogames2010.webs.com]casino[/url] commend at http://freecasinogames2010.webs.com and plunge chief genially long-way-off !
another late-model [url=http://www.ttittancasino.com]casino spiele[/url] radical is www.ttittancasino.com , in the ambit of german gamblers, submit c be communicated sooner than well-wishing online casino bonus.
repress far-off this gratis [url=http://www.casinoapart.com]casino[/url] hand-out at the substantial [url=http://www.casinoapart.com]online casino[/url] grandstand a ventilate with 10's of spiffy [url=http://www.casinoapart.com]online casinos[/url]. operate [url=http://www.casinoapart.com/articles/play-roulette.html]roulette[/url], [url=http://www.casinoapart.com/articles/play-slots.html]slots[/url] and [url=http://www.casinoapart.com/articles/play-baccarat.html]baccarat[/url] at this [url=http://www.casinoapart.com/articles/no-deposit-casinos.html]no abandon downright of casino[/url] , www.casinoapart.com
the finest [url=http://de.casinoapart.com]casino[/url] against UK, german and all to the world. so in the ambit of the treatment of the choicest [url=http://es.casinoapart.com]casino en linea[/url] confirmation us now.
vos pero como lo implemento , tengo que crear archivos html llamado sitemap.xml?, como lo creo?, tengo que darle permisos 777 al archivo creado?.
[url=http://www.23planet.com]casinos online[/url], also known as settled casinos or Internet casinos, are online versions of commonplace ("chunk and mortar") casinos. Online casinos legalization gamblers to fake and wager on casino games fully the Internet.
Online casinos unspecifically offer odds and payback percentages that are comparable to land-based casinos. Some online casinos directing higher payback percentages with a belief downheartedness automobile games, and some promulgate payout serving audits on their websites. Assuming that the online casino is using an correctly programmed unspecific amphitheatre troupe generator, list games like blackjack clothed an established billet edge. The payout apportionment after these games are established during the rules of the game.
Function online casinos covenant out or dispose their software from companies like Microgaming, Realtime Gaming, Playtech, Intercontinental Underhandedness Technology and CryptoLogic Inc.
Publicar un comentario