Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用 Asual 的 jQuery Address 将我的 Symfony 2.0 网站转换为像 Deezer、Grooveshark、Ubster 这样的 ajax 抓取网站#!。
#!
但是当我尝试实现它时,所有页面都会一次又一次地重新加载......可能是因为渲染的所有ajax调用都包括包含JS地址的布局,所以尝试再次调用等等。
我不知道如何在 Symfony 2 中正确集成这个插件。也许你对像 Deezer 和 cie 这样的爬虫有不同的建议。
我正在使用jQuery 地址。
只需使用 JQuery ajax 调用您定义的 url 来呈现仅包含所需内容而没有全局模板的视图。