gpt4 book ai didi

带有 phantomjs 的 Meteor Spiderable 不显示产量内容

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:36:18 25 4
gpt4 key购买 nike

关注本文METEOR SEO GUIDE https://gentlenode.com/journal/meteor-12-the-complete-guide-to-seo/20 :

我已经安装了 Spiderable( meteor 添加 spiderable)、phantomjs(apt-get install phantomjs),确保我所有的发布都有返回。我正在使用 meteor 1.0.0 和 iron-router 1.0.0。

一切似乎都运行良好,当我打开 localhost/?_escaped_fragment_= 时,我得到了 phantomjs 生成的静态内容(没有错误),但是 {{>yield}} 中的内容不包括在内。如果我尝试将任何数据直接加载到布局 phantomjs 也会读取它。

如何使 {{>yield}} 中包含的内容对蜘蛛可读?

感谢任何帮助。

最佳答案

我使用 Iron router 0.9.4 版本解决了这个问题,但我仍然无法使用最新的 iron router <=1.0.0 版本修复它。

关于带有 phantomjs 的 Meteor Spiderable 不显示产量内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26739829/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com