sfSocialBookmarkingPlugin - 1.0.0
symfony social bookmarking plugin
You are currently browsing
the website for symfony 1
Helper functions to create links to add url to social bookmarking services.
|Arthur Koziel||lead||moc.leizokruhtra <<ta>> ruhtra|
Copyright (c) 2007 Arthur Koziel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
The sfSocialBookmarking plugin gives you access to a set of helpers of which everyone generates a linked icon (favicon of the service) to a social bookmarking application (del.icio.us, furl, ...). Clicking on this link will submit the url to the specific service and let you add the url to your account.
To install sfSocialBookmarkingPlugin:
symfony plugin-install symfony/sfSocialBookmarkingPlugin
<?php use_helper('SocialBookmarking') ?> <?php echo link_to_delicious('http://www.foobar.com?foo=bar&bar=123', 'How to do a FooBar'); ?>
There are several other helpers available:
If you want to create a link to all of these social bookmarking sites, use this:
<?php use_helper('SocialBookmarking') ?> <?php echo link_to_social_bookmarking('http://www.foobar.com?foo=bar&bar=123', 'How to do a FooBar'); ?>
Note: If the images doesn't appear copy them into web/images/.
For the full copyright and license information, please view the LICENSE file that was distributed with this source code.