Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Help needed with web coding

Thread Tools
 
Search this Thread
 
Old 02 September 2011, 10:37 PM
  #1  
pwhittle
Scooby Regular
Thread Starter
 
pwhittle's Avatar
 
Join Date: Feb 2005
Posts: 1,793
Likes: 0
Received 0 Likes on 0 Posts
Default Help needed with web coding

I'd appreciate any help with this.
I've amended the code on one of my web pages, to try to pull in my blog, rather than the one which was on there.
It's a PHP page - my knowledge only stretches to HTML.

since I changed the code (just the URL bit), I get the following error:
Unable to open RSS Feed http://photosupplyshop.blogspot.com/posts/default with error HTTP ERROR: 404, exiting



the code as it is now:
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><?php include("includes/url.htm");?> Photography Tips Blog</strong></h2>
<div id="entry"><?php
$XMLFILE = "http://photosupplyshop.blogspot.com/posts/defaul";
$TEMPLATE = "feed-template.html";
$MAXITEMS = "1";
include("rss2html.php");
?></div>

thanks
Old 02 September 2011, 11:05 PM
  #2  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

is rss2html.php in the directory where this script is running?
Old 02 September 2011, 11:29 PM
  #3  
JackClark
Scooby Senior
 
JackClark's Avatar
 
Join Date: Dec 2000
Location: Overdosed on LCD
Posts: 20,852
Received 51 Likes on 34 Posts
Default

$XMLFILE = "http://photosupplyshop.blogspot.com/posts/defaul";

Default?.
Old 03 September 2011, 10:16 AM
  #4  
pwhittle
Scooby Regular
Thread Starter
 
pwhittle's Avatar
 
Join Date: Feb 2005
Posts: 1,793
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by JackClark
$XMLFILE = "http://photosupplyshop.blogspot.com/posts/defaul";

Default?.
spotted that when I pasted here, but fixing it didn't help
Old 03 September 2011, 10:17 AM
  #5  
pwhittle
Scooby Regular
Thread Starter
 
pwhittle's Avatar
 
Join Date: Feb 2005
Posts: 1,793
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by ChefDude
is rss2html.php in the directory where this script is running?
it is, yes
it was working before - the only thing I changed was the blog URL. both blogs are Blogger
Old 03 September 2011, 10:21 AM
  #6  
JackClark
Scooby Senior
 
JackClark's Avatar
 
Join Date: Dec 2000
Location: Overdosed on LCD
Posts: 20,852
Received 51 Likes on 34 Posts
Default

Try using http://photosupplyshop.blogspot.com/feeds/posts/default
Old 03 September 2011, 01:16 PM
  #7  
pwhittle
Scooby Regular
Thread Starter
 
pwhittle's Avatar
 
Join Date: Feb 2005
Posts: 1,793
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by JackClark
cheers, that's done it
is there a way to pull in more than the most recent post?
Old 03 September 2011, 06:29 PM
  #8  
JackClark
Scooby Senior
 
JackClark's Avatar
 
Join Date: Dec 2000
Location: Overdosed on LCD
Posts: 20,852
Received 51 Likes on 34 Posts
Default

Change MAXITEMS it's set to 1
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
oilman
Trader Announcements
15
01 October 2015 11:55 AM
taylor85
Wanted
2
13 September 2015 04:57 PM
AzzDSM
Engine Management and ECU Remapping
4
13 September 2015 03:59 PM
robbie1988
Wanted
2
13 September 2015 09:25 AM
Scooby-Doo 2
Wheels And Tyres For Sale
1
09 September 2015 06:51 PM



Quick Reply: Help needed with web coding



All times are GMT +1. The time now is 01:04 PM.