Updated 1st Mar: content modified to remove the use of registered trademarked “p*purls”

P*purls is, as described by its founder, the ultimate source for the latest web buzz and news and a daily must-read for me. I thought maybe I can do something based on that model to keep track of the buzz in Singapore and thus OneNews was born. Of course it’s not as grand as P*purls, just a simpler version. This also showcase the power of Wordpress being more than a blog software.
This theme requires using a single blog and single post. Some knowledge on PHP/XML/RSS is required. Minimal support will be provided.
Recipe
Engine: Wordpress 2.0 and above
Theme: Modified Simplr
Javascript
BoxOver
Digg Style Videos
Document Text Sizer
Style Sheet Switcher
Plugins:
Adsense 0.1
Exec-PHP 3.2
flickrRSS 3.1
Post: Edit the default “Hello World” post and replace the content with text in post.txt (remember to switch from Visual to Code view first)
Changelog
[25 Jun 07]: flickrrss plugin updated to remove double title on mouseover.
[20 Aug 07]: clean up code to make it easier to modify
License
Demo
Download
Tips & Tricks
How to change the adsense code to my own?
In line 27 of the Adsense plugin (adsense.php), replace my adsense with your own.
I pasted the post.txt into the post content but I only see codes, not the feeds. How?
Switch from “Visual” to “Code” view before pasting the code in post.txt

How to add/modify feeds?
I can’t cover all areas but I will try to explain the basic building blocks.
In post.txt, you will notice each feed is a variation/repetition of the following code. I added comments along each line of code where you may need to edit.
<p width="280" style="float: left"> //change column
<h2><a href="http://del.icio.us">del.icio.us</a></h2> //change header
$rss = fetch_rss('http://del.icio.us/rss/tag/singapore'); //insert your feed url
$items = array_slice($rss->items, 0, 20); //limit no of posts to 20
echo '<ul>';
foreach ($items as $item)
{
$desc = htmlspecialchars(substr(strip_tags($item['description']),0,300));
echo '<li><a target="_blank" href="'. $item['link'] .'" title="header=[] body=[' . $desc . ']">' . $item['title'] . '</a></li>';
}
echo '</ul>';
?>
Need Help?
Much as I want to provide free support, there are only 24 hours a day.
So if you need a chunk of my time, I’m available for hire.
What's Next?
» Share This (Social Bookmarks/Email)» Subscribe to Feed
» Subscribe to Email
» Leave a Comment
Related Posts:
» Beta Launch: OneNews Singapore
» Easier and Faster Ways to Upgrade to Wordpress 2.5.1
» Wordpress Themes
» Newer Post: Linkbacks from High PR Blogs
« Previous Post: Theme Bugfix: Artificial Intelligence







Hi Eric,
Congratulations for this clone, very great. But I’m using Wordpress 2.2 and the layout broken, the adsense go down of the YouTube. I tried to change some width in CSS file but doens’t resolve. Do you know why this happen?
huhhuu, very great..ermm, eric, do you know how to add a background picture plus a logo at the header…like what popurl did.
Érico Oliveira: what’s the url of your popurl clone?
ramzy0: You can play around with the contents in the “banner-nav-center” div. Prepare to tweak alot to your liking. Too much for me to cover here.
Sorry to be a n00b, but where do I put the post.txt file? Thanks — awesome script.
Oops, problem solved — just had to turn off the Visual Editor in my profile. Thanks!
Hi Genkisan, I’m using localhost. I will put in a web server and I will inform you later. Thanks.
FoodieGoodie: Great! And thanks for the beer
Hello - I’m also having the same broken layout problems as Érico Oliveira, I look forward to learning a fix.
FoodieGoodie & Érico Oliveira
I believe both of you are having the same issue. I actually miss out a simple step to set the width of the theme.
Under WP Admin > Presentation > Simplr Options > Set the Layout Width = 950px
That ought to fix the problem.
Update: flickrrss plugin updated to remove double title on mouseover.
genki, can we customize the rss. i mean if the site has 10 headlines, but i just wanna it to be appear on the my onenews site only 5….
and this problem, click the below ( screenshoot )
http://img529.imageshack.us/img529/8661/screenfd7.jpg
p/s: erico, me too..genki, i will inform u too.Thanx
Sure. If you look carefully, the code in post.txt is repetitive. Simply remove those feed that you dun need.
The second problem is probably the boxover.js script not loaded properly. Will wait for your site to be up.
Customising this script probably need some php/xml/rss knowledge. Kinda of lazy to write a tutorial. Perhaps I can charge a small fee for installation
[...] Eric Genkisan is a themer and web developer. I think his coolest work to date has to be Popurls Clone using [...]
[...] I found a cool tutorial on ericulous.com on how to make a website that looks like popurls using Wordpress you can find it here. [...]
[...] wanted a website that looked like Popurls? Now you can! Just go here. All you need is a webhost that supports PHP and MySQL, and [...]
[...] Popurls Clone using Wordpress » Ericulous Make your site look like PopURLs. (tags: wordpress popurls howto rss) [...]
[...] wanted your website to look like and fuction like Popurls? Now you can! Just go here and find out how! All you need is a webhost that can power Wordpress, and presto! Nothing to [...]
[...] Read on how to get your own Popurls here [...]
[...] Popurls Clone using Wordpress [...]
[...] Popurls Clone using Wordpress | Wordpress - WP Theme, Plugin, Resource - [...]
[...] Popurls Clone using Wordpress | Wordpress - WP Theme, Plugin, Resource - [...]
Please give more information about ,how to make a wesite using wordpress and how to chang the theme,top,body,fotter,link
[...] easy viewing of the titles of items in the news feeds of numerous sites. Ericulous offers a free Popurls clone based on WordPress. The package includes a custom WP theme and the necessary [...]
[...] Release Page | Preview Theme (example) [...]
[...] Popurls Clone using Wordpress | Wordpress - WP Theme, Plugin, Resource (tags: wordpress themes) [...]
I see require_once(ABSPATH . WPINC . ‘/rss-functions.php’); at the top of the post.txt, but I don’t have an /rss-functions.php on my server.
hi,
i try to use your package with wordpress 2.3.3
but the layout is broken
the package doesn;t work with wp2.3.3?
Brian: the rss-functions.php is in the wp-includes folder. You can also point to rss.php.
lionc: When I try to access the style.css, it says permission denied. You may need to change the permissions for the themes/plugins files.
http://pinkurls.com/wp-content/themes/Simplr/style.css
[...] Popurls Clone using Wordpress | Wordpress - WP Theme, Plugin, Resource A popurls clone like theme for wordpress (tags: wordpress popurls todo) [...]
[...] Nutzungs-szenarien für Wordpress überfolgen. Dabei wurde auch das OneNews Script von Ericulous vorgstellt. Im Prinzip ein Toolkit mit dem man auf Wordpress Basis einen Clone vom sehr [...]
wow…its working now
thank so much
the package is really great
[...] Popurls Clone using Wordpress | Wordpress - WP Theme, Plugin, Resource [...]
Hi, I’m having a few problems, it won’t show the feeds from http://www.gsp.ro, http://www.prosport.ro , http://www.marca.com , http://www.gazzette.it and http://www.elmundo.com . Could you please help me fix this? It gives me some errors, as you can see on my site: http://www.stirisport.com
Doesn’t work for me.. x(
Hi,
this theme (-package) looks great. Actually I wanted to create my own “planet”, but it looks like far more than that.
but: is it possible to display the feeds (of google news etc.) including an excerpt of the articles? and…if yes: how could i make this work?
(sorry, i’m a bit afraid of php coding)
best wishes,
wretchi
Razvan: Sport.ro & El Mundo is displaying blank but I’m not sure what is wrong. Sorry.
wretchi: to display excerpt, simply “echo $desc” where you want it.
The problem is that I keep getting these errors:
Warning: Attempt to assign property of non-object in /home/stiri/public_html/wp-includes/rss.php on line 431
Warning: array_slice() [function.array-slice]: The first argument should be an array in /home/stiri/public_html/wp-content/plugins/exec-php.php(39) : eval()’d code on line 10
Warning: Invalid argument supplied for foreach() in /home/stiri/public_html/wp-content/plugins/exec-php.php(39) : eval()’d code on line 12
[...] WP Theme: OneNews | Wordpress Themes - WP Theme, Plugin, Resource (tags: Wordpress popurls aggregator howto rss plugins webdev downloads clone) [...]
Hi,
i’m almost got no problem with this just i’ve the same critical error like Razvan..
Warning: Attempt to assign property of non-object in /home/asblog/public_html/news/wp-includes/rss.php on line 431
Warning: array_slice() [function.array-slice]: The first argument should be an array in /home/asblog/public_html/news/wp-content/plugins/exec-php.php(39) : eval()’d code on line 8
Warning: Invalid argument supplied for foreach() in /home/asblog/public_html/news/wp-content/plugins/exec-php.php(39) : eval()’d code on line 9
can you suggest the solution?
TQ…
I see that Razvan (http://www.stirisport.com) is using an alternative script, Newsblocks. You guys can check out the implementation at http://simplepie.org/wiki/tutorial/how_to_replicate_popurls.
I switched to a simpler alternative, thanks anyway for the great script!
Hello Genkisan,
Thank you. But, why some sintax xml don´t do nothing?
example:
http://rss.terra.com.br/0,,EI1977,00.xml
Has anyone had difficulty adjusting the flickr code? Namely:
How do you adjust the tags without messing things up? I only seem able to adjust “singapore” for example, but cannot add additional tags for a more refined search of flickr. Anyone see the issue?
Thx
Hi, Scot
1- don´t do anything FlickRSS Options.
2- use examples by http://eightface.com/wordpress/flickrrss/
Looks great. I’m trying to run this on WPMU and failing
http://kompressaur.thedailypunt.com/
Would this work on WPMU? I suppose if the widgets wont then this wont. Is there any alternative plugins that can be used or has anyone had any joy running this on wpmu?
thanks again
Reg
Daniel
Duh, forgot about the plugin. Thanks…Anyone notice a jerky effect when using in IE? I’ve noticed the whole page moves slightly to the side when you hover over links, but only in Explorer.
Thx
Daniel: I’m just guessing here but I think Wordpress’ RSS functions are not robust enough to handle all the different feed standards.
reg gordon: sorry, not tested on WPMU
Scott: no problem on my side
Genkisan
I’m testing it in Explorer 6 and I see the page move when I hover over the links within each feed. I’ve read somewhere that IE won’t recognize “a:hover” in CSS (causes jittery movement) but not sure if this is the issue or not.BTW…I see the problem on your demo for OneNews so I’m pretty sure it’s not on my side…has to be an IE6 issue.
[...] Link: Ericulous [...]
Scot, I meant no problem when I view in IE6/XP for both demo sites.
Gensikan
I guess it’s on my end because I see it on my own site in IE and yours as well. I’ll figure it out.
Another question…the Simplr options page refers to the sidebar and About section yet I see neither of these in my site. Am I missing something? Sorry for all the questions, but also about RSS (no feed?) and Search (are both used via widgets in sidebar?)
Thx
The options page came with the original theme. You can safely ignore them. And the modified theme doesn’t support widgets.
[...] 2 - WP Theme: OneNews | Wordpress Themes - WP Theme, Plugin, Resource [...]
[...] la ayuda de OneNews, me he animado a crear una página de información en inglés sobre Barcelona, que recoge [...]
[...] Клон сервиса Popurls. Это сайт-агрегатор, позволяющий “собирать” на одной страничке все, что происходит на различных популярных сайтах. Читать новости в таком формате удобно и подобный сайт можно сделать для того, чтобы мониторить блоги в какой-либо нише или даже нескольких нишах. Для подобного сайта есть даже бесплатная тема - WP Popurls clone theme. [...]
[...] is a site I’ve created (using this clever persons code) to deliver a constantly updated stream of t-shirt news and media. The news comes from Google News, [...]
[...] Theme for WordPress 1.1 Ninja Monkeys! Widgetized Hemingway 1.1 Old Style (0.4) Olive Green (1.0) OneNews (1.1) onTop 2.1 Orange Web 2.0 (1.3) Padangan 2.1 Photo Blog (1.0) PlainBox (4.0) plaintxtBlog [...]
[...] dafür waren die Agenturblog News, wobei ich zur Umsetzung das Grundgerüst von OneNews benutze. Statt dem mitgelieferten Skript kommt zur Abfrage der RSS-Feeds der verschiedenen [...]
[...] OneNews (1.1) [...]