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

126
diggs

A Message to Annoying Neighbor via Network Connections (PIC)

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

A clever way to piss off people stealing your internet


11 Comments | Blog this | Email this | Topic: Security

70
diggs

Sinofsky's Windows plan: More data, less testosterone

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

While some have criticized Steven Sinofsky for being tight-lipped, the Windows boss insists that he is being prudent, not secretive."Everybody wants to know what's coming and what's next." But, he said, talking too soon, too early is actually a bad thing that just leads to frustration.


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

247
diggs

How LED Tattoos Could Change The Face of Humanity

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

New LED tattoos from the University of Pennsylvania could make the Illustrated Man real (minus the creepy stories, of course). Researchers there are developing silk and silicon implantable devices which sit under the skin like a tattoo. Already implanted into mice, these tattoos could carry LEDs, turning the wearer’s skin into a screen.


46 Comments | Blog this | Email this | Topic: Design

177
diggs

FCC outlines seven biggest barriers to broadband adoption

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

The Federal Commission has listed seven big bumps in the road towards universal use of broadband in the United States, including the TV set-top box innovation gap and the spectrum gap. The document may be a sneak preview of the agency's National Broadband Plan, to be released in February.


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

118
diggs

UK Anti-Piracy Plans Slammed By Liberal Democrats | TorrentF

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

When Sweden’s IPRED legislation came into force on April 1st this year, the country saw a massive 30% drop in Internet traffic. Many attributed this to Internet user fears associated with increased powers of anti-piracy groups. Now, 8 months later, traffic is completely back to normal and on track to exceed pre-IPRED levels.


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

198
diggs

Internet Explorer 9 to sport GPU acceleration and HTML5

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

Even if you don't have a favored fighter in the browser wars, you have to admit Microsoft's Internet Explorer has been looking mighty unfit over the last few years. Younger and fitter contenders like Mozilla's Firefox and Google's Chrome have arguably overtaken the old stalwart, and now Microsoft is making some much-needed noise about fighting back


40 Comments | Blog this | Email this | Topic: Software

195
diggs

Amazing Military Robots That Could Hit The Battlefield Soon

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

Robots have started doing things we never even considered they�d be able to do. We use them in law enforcement and military settings to disarm bombs and check out unsafe situations. We use them to learn more about the environments of our own planet and others. And some people even use them to beat their friends at video games.


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

178
diggs

Chrome OS, babies, and bathwater

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

In an age where products that have never been announced get coverage and even critiqued over rumored shipping delays, it's no surprise that Google received a lot of coverage this week with an update on its Chrome OS strategy.


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

256
diggs

Beta Adobe Flash Shows Big Gains On GPU-Excelerated HD Video

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

Streaming High Def flash video clips to your PC, netbook or notebook just got much less taxing on your machine thanks to Adobe's upcoming release that will offload to your graphics chip. In fact, CPU resource savings are pretty huge in some cases.


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

232
diggs

MOTO's Multi-Touch BlackJack Table Puts Dealers Out Of Biz

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

The MOTO Development Group has just released what may be the coolest thing to hit a casino floor in decades. The group is calling its new Multi-Touch BlackJack table a "world's first," and gamers will soon be able to experience it at the Global Gaming Expo 2010 in Las Vegas.


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


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