Import the Digg Feed

By michal frackowiakmichal frackowiak

Description

It is easy to import a news feed in the "easy" way. But let us say you want full-blown news from Digg… OK, here it is. Let's use the "Technology" feed located at http://digg.com/rss/containertechnology.xml

For more info please also look at the Feed module documentation.

Code

[[module Feed src="http://digg.com/rss/containertechnology.xml" limit="10"]]
[[div style="float:left;background-color: #ffea6b; background-image: url(http://digg.com/img/digg-box-1-shade-5.gif); width:4em; text-align: center; margin: 0 0.5em 0.5em 0;border-bottom: 1px solid #edda67; border-right: 1px solid #edda67; color: #555;"]]
[[size large]]**%%custom digg:diggCount%%**[[/size]]
diggs
[[/div]]
[[div style="margin-left: 5em"]]
++ %%linked_title%% 
[[span style="color: #666; font-size: smaller"]] [[image %%custom_digg:submitter_userimage%% width="16" height="16" style="vertical-align: -0.3em;"]] submitted by  [http://digg.org/users/%%custom_digg:submitter_username%% %%custom_digg:submitter_username%%]  on %%date%%[[/span]]

%%description%%

[[span style="font-size: smaller; padding-top: -1em;"]] [%%link%% %%custom_digg:commentCount%% Comments] | [%%link%%/blog Blog this] | [%%link%%/share Email this] | Topic: %%custom digg:category%%
[[/span]] 
[[/div]]
[[/module]]

In action

232
diggs

Report: Apple to launch Verizon iPhone in Q3 2010

http://digg.com/users/Punisher6602/l.png submitted by Punisher6602 on 1257615001|%e %b %Y, %H:%M %Z|agohover

A new report citing sources in the Taiwan handset supply chain says Apple has contracted to produce a UMTS/CDMA hybrid iPhone due in the third quarter of next year that will enable the company to sell a single global handset to all carriers, and specifically to Verizon Wireless in the US.


37 Comments | Blog this | Email this | Topic: Apple

209
diggs

Time: Motorola DROID review

http://digg.com/users/TheEngineer2008/l.png submitted by TheEngineer2008 on 1257613202|%e %b %Y, %H:%M %Z|agohover

By now you've seen Verizon's iDon't/DROID Does campaign on TV or on the streets. Motorola's DROID has a very industrial look and feel to it. Gone are the days of lightweight and dainty devices. You don't have to coddle the DROID or shell out an extra $30 for a case. Wrapped mostly in metal, the DROID is chock-full of features.


19 Comments | Blog this | Email this | Topic: Gadgets

176
diggs

Inside Apple's industrial design lab

http://digg.com/users/one504/l.png submitted by one504 on 1257612602|%e %b %Y, %H:%M %Z|agohover

A rare visit with the man who designed the iMac, the iPod and the iPhone.


27 Comments | Blog this | Email this | Topic: Apple

229
diggs

Windows 7 tops Vista software sales, lags behind in hardware

http://digg.com/users/0bamaclintobush/l.png submitted by 0bamaclintobush on 1257609602|%e %b %Y, %H:%M %Z|agohover

Microsoft's heavily hyped Windows 7 debut was a success for the Redmond, Wash., company in terms of boxed software, which saw a 234 percent increase over Vista, though PC hardware sales slowed.


44 Comments | Blog this | Email this | Topic: Apple

197
diggs

Is Facebook a paradise for scammers?

http://digg.com/users/tryshalosh/l.png submitted by tryshalosh on 1257599402|%e %b %Y, %H:%M %Z|agohover

Companies that develop games for Facebook make big money by selling ad space--some of it to scammers.


34 Comments | Blog this | Email this | Topic: Tech Industry News

308
diggs

Everything You Need to Know About Android 2.0

http://digg.com/users/RunDiggMC/l.png submitted by RunDiggMC on 1257580202|%e %b %Y, %H:%M %Z|agohover

Android 2.0 (formerly codenamed Eclair) is the latest evolution of the mobile OS developed by Google and the Open Handset Alliance. This version is a chunky upgrade, superseding the current Android 1.6 software (dubbed Donut), which was actually considered "a minor platform release."


48 Comments | Blog this | Email this | Topic: Tech Industry News

311
diggs

MacHeist Offers NanoBundle Worth $154, for FREE!

http://digg.com/users/Iexist08/l.png submitted by Iexist08 on 1257579529|%e %b %Y, %H:%M %Z|agohover

The biggest Mac software bundle makers are offering a what appears to be prelude to their christmas bundle, for free. The list includes: Shovebox, Twitterrific, Writeroom ,TinyGrab, Hordes of Orcs, MarinerWrite. There is no catch, just register and download.


20 Comments | Blog this | Email this | Topic: Apple

454
diggs

Rite of Passage (COMIC)

http://digg.com/users/MrBabyMan/l.png submitted by MrBabyMan on 1257579001|%e %b %Y, %H:%M %Z|agohover

That's how it always starts...


45 Comments | Blog this | Email this | Topic: Programming

361
diggs

Droid Launch: Is This The Start of The Android Revolution?

http://digg.com/users/MrScotchBoy/l.png submitted by MrScotchBoy on 1257564602|%e %b %Y, %H:%M %Z|agohover

the Motorola Droid hits the shelves today, ready for the Android-hungry masses. The question everyone wants to know is, is this the start of a revolution in the mobile space?


118 Comments | Blog this | Email this | Topic: Gadgets

213
diggs

The Search Market Created Microsoft's Worst Enemy

http://digg.com/users/Shiner76/l.png submitted by Shiner76 on 1257558602|%e %b %Y, %H:%M %Z|agohover

Microsoft has earned a reputation for tenacity when entering markets created by innovative startups. But search is where Microsoft's doggedness has failed to pay off, not only from a revenue perspective but from failing to fend off a competitor who threatens Microsoft's core markets as well.


31 Comments | Blog this | Email this | Topic: Microsoft


You can of course improve the formatting or customize the feed. In particular you can of course combine several feeds — just separate different RSS sources by a coma delimiter (",").

The hack presented above does not aim to reproduce the exact digg-style but shows that using the simple tricks you can come quite close. And of course it demonstrates the power of Wikidot ;-)

For more details please consult the Feed module documentation.

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +10+x
Add a new comment
Page tags: digg feed rss
page_revision: 13, last_edited: 1217320157|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License