 |
? |
Author |
Message |
whighfill
Joined: 14 Apr 2015
Posts: 3
|
Posted: Tue Apr 14, 2015 10:08 am |

|
I've been reading the forum and documentation to try to solve this, but to no avail. I am attempting, like many before me, to display an rss feed in a webpage. However, what shows up is "[an error occurred while processing this directive]".
The webpage I am trying to do this in is
highfillcustomwoodworks.com/blog.html
My server is Apache and I have added a handler to allow SSI on html.
The blog.html page calls blogfeed.php with
I have uploaded blogfeed.php and FeedForAll_XMLParser.inc.php to the same directory as blog.html and replaced the following bits of code from the template:
$XMLfilename = 'http://weshighfill.blogspot.com/feeds/posts/default?alt=rss'
$TEMPLATEfilename = 'http://highfillcustomwoodworks.com/Templates/rss2html-template.html'
$limitItemDescriptionLength = 150
I have uploaded rss2html-template.html to the Templates directory.
Any help is greatly appreciated.
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2692
|
Posted: Tue Apr 14, 2015 10:20 am |

|
I think the issue is that you've included "/public_html/" as part of the URL you're referencing in the include.
When I bring up the direct PHP file (http://highfillcustomwoodworks.com/blogfeed.php), I don't receive an error and it displays the content appropriately.
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
whighfill
Joined: 14 Apr 2015
Posts: 3
|
Posted: Tue Apr 14, 2015 10:28 am |

|
Thanks for the fast response! Yes, when I go to the blogfeed.php, it works.
I tried removing the /public_html/, and I get the same result. I note that in the source code of blog.html, my SSI statement is not there. Line 66. This sounds like it is not something to do with RSS2HTML, which appears to be working fine (given how blogfeed.php works). It seems it's something more to do with the SSI code. I guess that's what I need to research...?
|
|
|
 |
 |
whighfill
Joined: 14 Apr 2015
Posts: 3
|
Posted: Tue Apr 14, 2015 10:38 am |

|
Never mind, got it to work! I replaced this code
with this:
I swear I had that in earlier and it wasn't working, but it's working now! Thanks!
|
|
|
 |
 |
|
|
|