 |
? |
Author |
Message |
philbu
Joined: 30 Apr 2013
Posts: 4
Location: Bay Area
|
Posted: Tue Apr 30, 2013 3:09 pm |

|
I've uploaded the 3 files according to documentation. I used the buildURL utility successfully and I see the feed in the resulting page.
Now, how do I put that RSS feed into the sidebar of my static html page? What is the specific code I need to put in the sidebar div?
thnx!
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2688
|
Posted: Tue Apr 30, 2013 3:15 pm |

|
|
 |
 |
philbu
Joined: 30 Apr 2013
Posts: 4
Location: Bay Area
|
Posted: Tue Apr 30, 2013 3:28 pm |

|
Yes, thanks much, I have read that file many times. I'm using Example 2. I have accomplished the first 3 steps.
Guess I'm having trouble understanding step 4. Create the following link on an existing webpage:
http://(url to rss2html.php on your web server)?TEMPLATE=(url to your custom template)&XMLFILE=(url to your RSS feed)
Do I "create the link" within the sidebar divs and if so what html tag do I use to enclose it?
And another dumb question: Do I copy the sample template code into that sidebar, as well?
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2688
|
Posted: Tue Apr 30, 2013 3:36 pm |

|
|
 |
 |
philbu
Joined: 30 Apr 2013
Posts: 4
Location: Bay Area
|
Posted: Tue Apr 30, 2013 4:00 pm |

|
OK, thnx. So, following Example 3, I opened a blank php file in Dreamweaver, pasted the code shown between the body tags, saved it as template.php, and uploaded it to my root folder, same place as the other files.
I then pasted the Table code into the sidebar of my static html home page, with the proper Template and XMLFILE names in it. Uploaded that file.
On my first check, the sidebar was blank.
I then renamed the home page with the shtml extension.
This time there is something in the sidebar, but it is an error message: "Configuration setting prohibit using the specified template file, exiting".
So, I must be getting somewhere, but stuck here. : )
|
|
|
 |
 |
philbu
Joined: 30 Apr 2013
Posts: 4
Location: Bay Area
|
Posted: Tue Apr 30, 2013 4:50 pm |

|
I found the solution:
Try changing this line in the rss2html.php script:
$fileAccessLevel = 1;
to this:
$fileAccessLevel = 0;
thnx
|
|
|
 |
 |
|
|
|