flarum 有了解么?能否加个类似的标签功能? Page2

26 个回复 | 最后更新于 2016-08-19
lincanbin
2015-09-11
#20

不是敏感问题,应该是你这个问题之前很多人问过,你又不去搜索有没有类似问题,就被他们关闭了。

#19 @大孟 :

回复#18 @lincanbin :

我好像问了个敏感问题,直接被关闭回复了.

大孟
2015-09-11
#21

回复#20 @lincanbin :

问之前特意搜索过的,没有相关话题才问的

lincanbin
2015-09-11
#22

回复#21 @大孟 :

从他们的回复来看,显然应该是有相关话题的,大概在GitHub上有?

betw
2015-09-11
#23

回复#22 @lincanbin :

就在贴出来的那段里,是https://github.com/flarum/core/issues/189

------

Flarum renders very basic versions of the discussion list and discussions (within <noscript> tags), which are going to be specifically optimised for search engines. This all takes place in Flarum\Forum\IndexAction and DiscussionAction, which extend Support\ClientAction and use Flarum\Support\ClientView. The actions get data from the Flarum's API and pass it onto content views (discussion.blade.php and index.blade.php). I'm happy to explain more if need be because it can get pretty confusing.

Put simply, the code is a mess. It needs to be rethought and refactored. A few thoughts:

  • We probably want to use or build some kind of library that makes it easier to work with a JSON-API document payload.

  • Similarly, we probably want to use or build some kind of library that will help generate URLs/query strings/etc.

Only after doing this will we be able to effectively optimise the SEO content and do the following:


lincanbin
2015-09-12
#24

回复#23 @betw :

Put simply, the code is a mess. It needs to be rethought and refactored.

里面这么说倒是没错,但是Flarum如果真要为SEO而refactored,那注定是个漫长而痛苦的过程。

justjavac
2016-08-18
#25

回复#24 @lincanbin :

Flarum 对 Google 的 SEO 做的还不错,只是百度太另类

lincanbin
2016-08-19
#26

回复#25 @justjavac :

不对啊,百度那个才是主流。


登 录


现在注册

QQ  登 录    Weibo  登 录    GitHub  登 录