Programmatically deleting list items/documents with Recycle Bin support

If you delete a document in SharePoint 2007 using the User Interface, it’s being moved to the Recycle Bin, so that it can be restored if necessary. There are situations when you want to include deleting list items and documents in your custom solutions. The most commonly used approach I’ve seen is calling the SPListItem.Delete() method. While this does the job, and deletes the item, it deletes it permanently instead of moving to the Recycle Bin.

Quote of the Day Web Part, Reprised – Part 2

\Via [EndUserSharePoint.com\] In the previous article we’ve discussed all the different ingredients of the Quote of the Day Web Part. Additionally we have created the basics to retrieve quotes from a list and display them on the page. In Part 2 of the article I revise the mechanism for retrieving random quote of the day.

Imtech SEO Slugs Live Writer Plugin v1.1.0

Almost half a year ago I’ve release the first version of the Imtech SEO Slugs Windows Live Writer Plugin. Using the selected text the plugin generates a Search Engine Optimized slug for your post by removing all the noise words. By default slugs are being generated using the post’s title which usually doesn’t contain any HTML markup. There might be situations however when you would like to generate a slug using some text in the body instead.

Quote of the Day Web Part, Reprised – Part 1

\Via [EndUserSharePoint.com\] In March, Mark Miller of EndUserSharePoint.com (EUSP) has created a Quote of the Day web part. And while it has been downloaded and installed on many sites, it has one shortcoming: you had to edit the web part’s code to manage the quotes. Recently Mark asked me whether it would be possible to do something about it, to make the web part more end-user friendly.