GitHub PullRequestReviewCommentEvent at 2014-02-14 22:49:59
Repository: symfony-cmf-docs
Actor: WouterJ
Payload: {"comment":{"url":"https://api.github.com/repos/symfony-cmf/symfony-cmf-docs/pulls/comments/9767392","id":9767392,"diff_hunk":"@@ -0,0 +1,176 @@\n+.. index::\n+    single: SeoContent; Bundles\n+    single: SeoContentBundle\n+\n+SeoContentBundle\n+=============\n+\n+    This bundle provides a soluton to make content bundles aware of SEO.\n+\n+Preface\n+-------\n+\n+As the symfony cmf allows you to show one content on multiple routes, it is a must have to avoid\n+duplicate content. There are two solutions to rid of it:\n+\n+Create a canonical link with the reference to THE original url:\n+\n+    <link rel=\"canonical\" href=\"/route/org/content\">\n+\n+or a redirect to the original url.\n+\n+Both take care on search engines, which does not like it to have same content under different routes.\n+\n+The SonataSeoBundle still does a good job on handling that stuff. But we need a thin wrapper around\n+their service to get the cmf content documents be aware of those duplicate content problems.\n+As sonatas SeoBundle provides solutions for setting values for meta tags and the page's title the SeoBundle\n+will contain \"out-of-the-box\" solution for the cmf documents, too.\n+\n+Installation\n+------------\n+\n+You can install the bundle in 2 different ways:\n+\n+* Use the official Git repository (https://github.com/symfony-cmf/SeoContentBundle);\n+* Install it via Composer (``symfony-cmf/seo-content-bundle`` on `Packagist`_).\n+\n+Configuration\n+-------------\n+\n+The first part of configuration is the one for the sonata seo bundle. These settings are handled as\n+default values\n+\n+\n+    sonata_seo:\n+      page:\n+        title: Default title\n+        metas:\n+          names:\n+              description: default description\n+              keywords: default, key, other\n+\n+Without any settings or work with the SeoBundle these settings are enough to let the sonatas ``PageService``","path":"bundles/seo_content/introduction.rst","position":52,"original_position":52,"commit_id":"418f280b3ea53198067668cccaa09848dd4cb727","original_commit_id":"418f280b3ea53198067668cccaa09848dd4cb727","user":{"login":"WouterJ","id":749025,"avatar_url":"https://gravatar.com/avatar/331582449435f5efa35be870ab76f1a9?d=https%3A%2F%2Fidenticons.github.com%2Fcad34e5c3d17a170a47cbd06fe684d6b.png&r=x","gravatar_id":"331582449435f5efa35be870ab76f1a9","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"body":"[...] with the CmfSeoBundle [...] to let the `PageService` of the SonataSeoBundle","created_at":"2014-02-14T22:49:59Z","updated_at":"2014-02-14T22:49:59Z","html_url":"https://github.com/symfony-cmf/symfony-cmf-docs/pull/401#discussion_r9767392","pull_request_url":"https://api.github.com/repos/symfony-cmf/symfony-cmf-docs/pulls/401","_links":{"self":{"href":"https://api.github.com/repos/symfony-cmf/symfony-cmf-docs/pulls/comments/9767392"},"html":{"href":"https://github.com/symfony-cmf/symfony-cmf-docs/pull/401#discussion_r9767392"},"pull_request":{"href":"https://api.github.com/repos/symfony-cmf/symfony-cmf-docs/pulls/401"}}}}