piperis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Running PHP code..Refering to:
<?php include “./public/lastrss.php”; // include lastRSS
$rss = new lastRSS; // Create lastRSS object
$rss->cache_dir = ‘./public/cache’;make sure the files and cache folder are where you say they are.
try putting them in other dir.Forum: Fixing WordPress
In reply to: Running PHP code..Thanks again!
All sorted!Forum: Fixing WordPress
In reply to: Running PHP code..finally, how can i add some text just above the rss stuff?
whats the code??Forum: Fixing WordPress
In reply to: Running PHP code..just gave it a go, and it worked!!
thanks sooo much, i have posted a few times to get this sorted and finally have sorted it, thanks to you!Top (wo)man!!!! lol
Thanks again…Forum: Fixing WordPress
In reply to: Running PHP code..changed it… nothing is being displayed, no errors or news… just blank page….
Forum: Fixing WordPress
In reply to: Running PHP code..this is my code atm:
<?php
if(is_page(‘News’))
{
?>
<div class=”rss”>
<?php
// include lastRSS library
include ‘./lastRSS.php’;// create lastRSS object
$rss = new lastRSS;// setup transparent cache
$rss->cache_dir = ‘./cache’;
$rss->cache_time = 3600; // one hour// load some RSS file
if ($rs = $rss->get(‘feed://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml’)) {
// here we can work with RSS fields
}
else {
die (‘Error: RSS file not found…’);
}
?>
</div>
<?php
}
?>Forum: Fixing WordPress
In reply to: Running PHP code..the best i can do is get it to say rss file not found…!
Forum: Fixing WordPress
In reply to: Running PHP code..thanks for ur reply….
im trying to use this method:
http://www.tonyrocks.com/index.php/tutorials/adding-an-ebay-rss-feed-to-your-wordpress-blog/but i cant get it to work, the lastrss file isnt helping.
I just need a nice clean bit of code that will parse the rss
Forum: Fixing WordPress
In reply to: Running PHP code..i want to display the feed on a page…
I have a page created, named News,
and I want a news feed to appear under that page.Like i said i have tried several things but havent been able to get it working.
Forum: Fixing WordPress
In reply to: Rss on pagei cant enable any kind of widget as i dont have a sidebar… does that matter?
I tried adding the code to the HTML part of the page, but it did nothing, just displayed the code…Forum: Fixing WordPress
In reply to: Rss on pagewhere do i need to add this code?
I only want one particular page to display the feed…Forum: Fixing WordPress
In reply to: Rss on pagei have tried a few plugins but non have worked… there must be some sort of code that can be insterted into a post to get rss feed….?
I really need this feature… ahhhhForum: Fixing WordPress
In reply to: Edit Post pagethanks!!!
Forum: Fixing WordPress
In reply to: Rss on pagei just realised it can be done through a widget on the sidebar.. but how can i get it onto a page?
Forum: Fixing WordPress
In reply to: Edit Post page…maybe the post.php??