php中的sitemap我们无法在php中获取sitemap [英] sitemap in php we can't get sitemap in php

查看:100
本文介绍了php中的sitemap我们无法在php中获取sitemap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在PHP中获取站点地图 PHP中的站点地图给我一个解决方案

how we can get sitemap in php Sitemap in PHP give me a solution

推荐答案

你是如此习惯于得到的东西你甚至希望获得一个PHP站点地图?你明白有时你需要给予?或者至少发展?这是不可能一直得到的。或者,更准确地说,你可以得到,但是你不会成为一名软件开发人员。而且,特别是,没有人会为你的工作付钱。



所以,没有人会给你解决方案。而不是因为人们希望你从困难的工作中受苦。这是因为他们不仅仅是一个解决方案。通常,因为站点地图至少应该有一些数据映射一些描述性的单站点地图页面与其他可能需要一些支持的页面。首先,请参阅:

http://en.wikipedia.org/wiki/Site_map [ ^ ]。



这是一种基于重写引擎的方法:

http://stackoverflow.com/questions/2747801/creating-an-xml-sitemap-with-php [ ^ ]。



要了解重写,请参阅:

http://en.wikipedia.org/wiki/ URL_rewriting [ ^ ]。



另一种方法基于站点地图生成器。你可以在这里找到一些: http://code.google.com/p/sitemap-generators/wiki/ SitemapGenerators [ ^ ],

http://www.plop.at/en/php.html [ ^ ]。



你总是可以写自己的。



毕竟,你可以找到更多:

http://bit.ly/Zep6rQ [ ^ ],

http://bit.ly/Zepd6G [ ^ ]。



祝你好运,

-SA
Are you so much used to getting things that you even hope to "get" a PHP sitemap? Do you understand that sometimes you need to give? Or at least develop? It''s impossible to get all the time. Or, more exactly, you can get, but then you won''t be a software developer. And, in particular, no one will pay you for your work.

So, no one will "give" you the solution. And not because people want you to suffer from difficult work. This is because their is no just one single solution. Typically, as sitemap should at least have some data mapping some descriptive single sitemap page with the other pages which may need some support. To start with, please see:
http://en.wikipedia.org/wiki/Site_map[^].

Here is one approach based on rewrite engine:
http://stackoverflow.com/questions/2747801/creating-an-xml-sitemap-with-php[^].

To understand rewrite, please see:
http://en.wikipedia.org/wiki/URL_rewriting[^].

Another approach is based on a sitemap generator. You can find some here: http://code.google.com/p/sitemap-generators/wiki/SitemapGenerators[^],
http://www.plop.at/en/php.html[^].

And you can always write your own.

After all, you can find a lot more:
http://bit.ly/Zep6rQ[^],
http://bit.ly/Zepd6G[^].

Good luck,
—SA


这篇关于php中的sitemap我们无法在php中获取sitemap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆