BlogEngine.NET Twitter Widgets Updated

by Donovan Olivier May 10, 2010 9:02PM

Displaying the date published in the blogger's local time has been bugging me because it's probably quite meaningless to most of the readers. A quick Google search showed a couple of ways to display relative time (i.e. ‘an hour ago’ instead of an absolute time). I picked Jeff Atwood's method for stackoverflow.com with a couple of minor modifications. The relative time is a setting which is off by default in case you liked things as they were. Here are the updated Twitter widgets, bundled together.

Imaginary.Widgets.7z (6.30 kb)

UPDATE June 9, 2010: Incorporated feedback from JP Hellemons to correct an encoding issue in the feed widget.

UPDATE March 11, 2011: Ruslan Tur updated the widgets for BE2.0, you can grab them from here.


Tags: , , ,

Blog

BlogEngine.NET Twitter Feed Widget

by Donovan Olivier May 9, 2010 7:57PM

Continuing on from the Twitter search widget, I also created a feed widget. This lends heavily from the default BlogEngine.NET twitter widget, including Al Bsharah's changes.  The main implementation difference is that I've used .NET's System.ServiceModel.SyndicationFeed object to read the feed data instead of the System.Xml.XmlDocument used in the original.

Imaginary.TwitterFeed.7z (4.17 kb)

UPDATE May 10, 2010: Added relative time setting. Please grab newer version from here.


Tags: , , ,

Blog

BlogEngine.NET Twitter Search Widget

by Donovan Olivier May 5, 2010 7:27PM

I've created a Twitter search widget for BlogEngine.NET. This widget displays the results of a search rather than a specific user's tweets. What you're seeing here on my blog is the widget configured to search for ‘planetdonovan’. It's a bit of a challenge writing code for ASP.NET 2.0 when you've gotten used all the new C# language features, but you can still get everything done.

The source code is available for download here. If you make improvements or have fun using it, please let me know.

Imaginary.TwitterSearch.7z (4.18 kb)

UPDATE May 10, 2010: Added relative time setting. Please grab newer version from here.


Tags: , , ,

Blog

The Perpetrator

perpetrator

Donovan Olivier

software developer, architect, husband, father, son, brother, uncle, nephew, sinistral, enquirer, skeptic, cynic, anarchist, contrarian, infidel, dissident, rebel, troublemaker, dissenter, renegade.

Noise

i know one shld look at beer studies undertaken by the institute of brewing & distillery with a critical eye, but... http://t.co/hOtxdgox
planetdonovan 4 hours ago

is there any way to ensure that the electronics you buy are manufactured by free range humans? http://t.co/smfg8lSg
planetdonovan 7 hours ago

@planetdonovan ha ha I thought the same when that guy hit him.
LBugnion 1 day ago

@jalpf @LBugnion it is hard, however, to see him getting beaten up... c'mon jack!
planetdonovan 1 day ago

#FF - @thisisinterval @greyholed @planetdonovan @Sonicsgate
adrianshannon 2 days ago

this is why most f1 cars are gonna look weird this year http://t.co/zoObHpUg
planetdonovan 3 days ago

new ferrari f2012 nose is freaky! http://t.co/kwBktVib
planetdonovan 3 days ago

random site of the day http://t.co/wZYZg0FI
planetdonovan 3 days ago

computing achievements http://t.co/JIsYZcjB (via @gizmodo)
planetdonovan 3 days ago

RT @LiveScience: Newfound Alien Planet is Best Candidate Yet to Support Life, Scientists Say http://t.co/BKx8ToBT
planetdonovan 3 days ago

well, this is bound to be controversial http://t.co/j724XCTP (via @carolynporco)
planetdonovan 3 days ago

opposing the death penalty seems to be the unpopular point of view in south africa.
planetdonovan 4 days ago

started my day with a colossal database screw up - things can only get better from here.
planetdonovan 5 days ago

conspiracy theory of the day http://t.co/qy14T7Xx (clues: "cancer industry", "medical mafia")
planetdonovan 6 days ago