PDA

View Full Version : Help implementing digg feed please!


dreamking11
01-24-2007, 05:34 PM
Hey all...didn't know where (anywhere on the internet lol) to post this. I've tried all the CSS forums I could find but no luck...if someone could even just point me in the right direction i would sure appreciate it...

So I'm trying to add digg news to my site:

http://digg.com/add-digg

On there it says 'You can use CSS with the class names to customize the display'

I've tried to apply what I know about CSS, but it will not effect the text generated by the digg feed. Do I need to know their class names or what?

Thanx!

tokenuser
01-24-2007, 05:54 PM
Threads merged with a redirect to a single thread - no point in having answers in two locations.

darknessgp
01-24-2007, 06:43 PM
I've used "http://digg.com/add-digg" to get the javascript source, but when added into a simple HTML page, it does nothing. Could it be that the server I'm on doesn't support doing javascript?

dreamking11
01-24-2007, 07:00 PM
I dont think that's the prob, it works for me even on my local machine. Your tag looks something like this?

<script language="JavaScript" src="http://digg.com/diggjs/front/all/3" type="text/javascript"></script>

I've made some progress...digg support says that you need to know their specific class names to customize with css. They said they thought the class names were posted at: http://digg.com/tools but I cant find them if they are.

dreamking11
01-24-2007, 07:34 PM
Got help in another forum FYI customizing the feed looks like this:


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>digg</title>
<style>ul.rss-items a {
color:#000;
FONT-SIZE:x-small;
}
ul.rss-items {
color:#777;
FONT-SIZE:x-small;
}
</style>
</head>

<body>
<html>
<body>
<div id="main"> <script language="JavaScript" src="http://digg.com/diggjs/front/tech_news/16" type="text/javascript"></script>
</div>
</body>

</html>

darknessgp
01-24-2007, 10:42 PM
dream-king, thx for posting that. I've got it working now.