{ "info": { "author": "Vitaliy Podoba", "author_email": "vitaliypodoba@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python" ], "description": "Introduction\r\n============\r\n\r\n.. contents:: Table of contents\r\n\r\nSome SEO validation services tell us that query parameters are bad for those\r\npages which display different content based on those parameters. It usually\r\nmeans having the same page but with different content within it. Thus we end up\r\nwith different pages with the same meta tags, title, etc...\r\n\r\nThis packages deals only with one kind of query parameters inside Plone: pages\r\nwith batched listings. It replaces those query parameters with traversal\r\nsub-paths to make up completely different urls for the next items inside batched\r\nlistings.\r\n\r\n\r\nOverview\r\n========\r\n\r\nPlone batching mechanism uses ``b_start`` query parameter to tell where to start\r\nwith displaying content items inside batched listing page. So url for\r\n``folder1`` containing batched listing might look like::\r\n\r\n ...folder1?b_start:int=10&-C=\r\n\r\nInstead, after installing and setting up collective.seobatching package this\r\nurl will have the next appearance::\r\n\r\n ...folder1/batch-10\r\n\r\nThis is a default look for batched page urls with ``batch-10`` sub-path telling\r\nthat now we're displaying listing starting from the 10th item. ``batch-10`` look\r\ncould be customized if needed. How to do this? Take a look at\r\n**Deeper Customization** section.\r\n\r\n\r\nQuick Start\r\n===========\r\n\r\nInstall this python package as described in ``docs/INSTALL.txt`` file. Then go\r\nto portal_quickinstaller tool and install ``collective.seobatching``. After this\r\n``seo_batch_macros.pt`` template will be available for you to use in your\r\ncustomized page templates.\r\n\r\nFor example if you need seo friendly batching in your folder_listing template,\r\nthen customize it and replace this string::\r\n\r\n
\r\n\r\nwith the next one::\r\n\r\n \r\n\r\nThat's it.\r\n\r\n\r\nDeeper Customization\r\n====================\r\n\r\nIf you're not happy with ``batch-10`` in your batch listing urls, you can easily\r\nadjust it to your needs inside ``portal_properties`` tool. There you have\r\n``seobatching_properties`` property sheet with ``batch_pattern`` inside telling\r\nhow to represent batched sub-pages. Default pattern is ``batch-${num}`` which\r\ngives us the result we saw above.\r\n\r\nAnd, for instance, to have ``start_from_10`` component at the end of batch urls\r\nwe simply have to set ``batch_pattern`` property to::\r\n\r\n start_from_${num}\r\n\r\nstring. As you guessed already, ``${num}`` is a placeholder for the number of\r\nitems to start from for a given link.\r\n\r\n\r\nDrawbacks\r\n=========\r\n\r\n``collective.seobatching`` doesn't support any other query parameters apart from\r\n``b_start``. It also won't forward any 3rd party query parameters which may be\r\nrequired by your page. So in case you need some extra variables provided by\r\n``Plone Batch`` class or your own logic, this package won't help. But this may be\r\nimplemented in the next versions of ``collective.seobatching`` package.\r\n\r\nChangelog\r\n=========\r\n\r\n1.0 - April 21, 2010\r\n--------------------\r\n\r\n- Initial release\r\n\r\ncollective.seobatching TODO\r\n===========================\r\n\r\n* Support all batch and 3rd-party query parameters.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://svn.plone.org/svn/collective/collective.seobatching", "keywords": "batching seo plone", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "collective.seobatching", "package_url": "https://pypi.org/project/collective.seobatching/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.seobatching/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://svn.plone.org/svn/collective/collective.seobatching" }, "release_url": "https://pypi.org/project/collective.seobatching/1.0/", "requires_dist": null, "requires_python": null, "summary": "This package replaces query parameters from batched listings thus making them more seo friendly.", "version": "1.0" }, "last_serial": 788197, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e727a4b6285675fb599ccb35c464a61c", "sha256": "608bfe3eb5729ec191acecbe53262f128a579efe45b20c323aaa091753fc415f" }, "downloads": -1, "filename": "collective.seobatching-1.0.tar.gz", "has_sig": false, "md5_digest": "e727a4b6285675fb599ccb35c464a61c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18868, "upload_time": "2010-04-21T09:33:48", "url": "https://files.pythonhosted.org/packages/ff/cb/78913287c0c6e8358ddb36f81593fe7960a3453b832107bc5a21bbe13bc8/collective.seobatching-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e727a4b6285675fb599ccb35c464a61c", "sha256": "608bfe3eb5729ec191acecbe53262f128a579efe45b20c323aaa091753fc415f" }, "downloads": -1, "filename": "collective.seobatching-1.0.tar.gz", "has_sig": false, "md5_digest": "e727a4b6285675fb599ccb35c464a61c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18868, "upload_time": "2010-04-21T09:33:48", "url": "https://files.pythonhosted.org/packages/ff/cb/78913287c0c6e8358ddb36f81593fe7960a3453b832107bc5a21bbe13bc8/collective.seobatching-1.0.tar.gz" } ] }