As Silverstripe currently doesn't have built - in support for pinging services like technorati or weblogs, I created a little widget that makes this possible.
Installing it is pretty easy:
- Download the zip file and extract it to the root of your SS-installation.
- Run db/build.
- Go to the cms and select the root of whatever page-type you're publishing children on. If you're using the standard blog module, this would be the 'Blog' page.
- Choose the widgets tab, and drag the widget to the right to enable it. Save and publish the page.
- The widget is now working.
Everytime a child page of the page where the widget is on gets published, it can ping technorati, weblogs and pingomatic. It makes use of 2 little external libraries (weblog_pinger and xmlrpc). Note that you don't need to download the libraries, they are already included in the widget.
To use SS widgets on your page (articleholder, blogholder, whatever) , make sure you have attached a widgetarea in your pageholder/articleholder/... model:
static $has_one = array( "WidgetArea" => "WidgetArea" );
function getCMSFields()
{
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Widgets", new WidgetAreaEditor("WidgetArea"));
return $fields;
}
Hope this is useful for someone. Let me know if you find any bugs or things that I might have overlooked.





























