Import the Digg Feed

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

98
diggs

The Cost of Living on the Edge

http://digg.com/users/reflex768/m.png submitted by reflex768 on 1210587121|%e %b %Y, %H:%M %Z|agohover

Chart showing price and market penetration of consumer electronics over the past 50 years.

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

784
diggs

Finally the definition of Web 2.0 & 3.0

http://digg.com/users/jstad/m.png submitted by jstad on 1210557386|%e %b %Y, %H:%M %Z|agohover

One of the most misused buzzwords finally gets defined. Now we can stop people from labeling everything on the internet as Web 2.0. Please stop the madness.

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

1520
diggs

Google TiSP Joke Becomes Reality

http://digg.com/users/sustainablogger/m.png submitted by sustainablogger on 1210550646|%e %b %Y, %H:%M %Z|agohover

Apparently, the folks in Bournesmouth, UK, didn't get the joke, as they're laying fiber optic cable through the sewer system. The intended result: blazing fast connections that don't require digging up anything...

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

619
diggs

Data Centers and Global Warming, Will the web crash?

http://digg.com/users/SkyBlueSky/m.png submitted by SkyBlueSky on 1210542705|%e %b %Y, %H:%M %Z|agohover

So you’ve heard the hype on going green, wouldn’t you like to know how the internet fits into the big picture of saving energy? Every time you search Google you could power an 11-watt light bulb for an hour…

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

763
diggs

IFPI Advises Kids to Use LimeWire and Kazaa

http://digg.com/users/MakiMaki/m.png submitted by MakiMaki on 1210541264|%e %b %Y, %H:%M %Z|agohover

Together with the charity Childnet, IFPI recently launched a campaign to educate kids, teachers and parents about the dangers of filesharing. Ironically, the legal alternatives they suggest direct the kids to LimeWire, Kazaa and sites that sell hardcore adult movies.

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

2197
diggs

Happy Mothers Day Google Logo 2008

http://digg.com/users/bamafun/m.png submitted by bamafun on 1210529258|%e %b %Y, %H:%M %Z|agohover

Googles 2008 logo for Mothers Day - Happy Mothers Day to all the moms!

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

736
diggs

Fedora 9 released ! we have the first screenshots of Sulphur

http://digg.com/img/udm.png submitted by anyweb on 1210527803|%e %b %Y, %H:%M %Z|agohover

Here are some shots from the install. I will not go into detail when it comes to these. One thing that has changed is the encryption option (i did not test this), that allows you to make and install to an encrypted partition.uname -aLinux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 athlon i386 GNU/Linux

170 Comments | Blog this | Email this | Topic: Linux/Unix

876
diggs

Zune breaks 2 million sold, stealing market from Creative

http://digg.com/users/TalSiach/m.png submitted by TalSiach on 1210523344|%e %b %Y, %H:%M %Z|agohover

Microsoft is still toiling away at the Zune, but there isn't a whole terrible much to show for it so far in regards to market impact. They just broke the 2 million mark, almost a year after they hit 1 million in May 2007. That means growth has hardly accelerated since the second-gen players hit the scene.

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

239
diggs

The (Virtual) Global Office

http://digg.com/users/zen53/m.png submitted by zen53 on 1210512810|%e %b %Y, %H:%M %Z|agohover

Moving beyond Second Life marketing, many companies are infiltrating virtual worlds for employee meetings, mixers, and recruiting

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

316
diggs

Preserving Old Movies, At 40 Degrees

http://digg.com/users/adrian67/m.png submitted by adrian67 on 1210509437|%e %b %Y, %H:%M %Z|agohover

While Scarlett O'Hara stayed cool at home, Dorothy Gale took a year out to go skipping down a digital yellow brick road in a Hollywood film lab.

24 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: +7+x
page tags: digg feed rss
page_revision: 12, last_edited: 1162196570|%e %b %Y, %H:%M %Z (%O ago)
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License