![]() ![]() |
Jul 5 2007, 05:30 AM
Post
#1
|
|
|
New Member ![]() Group: Members Posts: 32 Joined: 29-May 06 Member No.: 3,650 ![]() |
I want to run an RSS feed off of my gallery. I want to insert the feed into a section on my website. The site is a .shtml page.... what line of coding would I need to place in the certain section to get the RSS feed working off of my gallery?
Thanks |
|
|
|
Jul 6 2007, 03:55 PM
Post
#2
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Not sure how you've got things setup, but if the page expects a rss feed as input, then pointing it to your rss.php should do the trick.
Let me know what happens. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Jul 7 2007, 02:15 PM
Post
#3
|
|
|
New Member ![]() Group: Members Posts: 32 Joined: 29-May 06 Member No.: 3,650 ![]() |
The site is this, draft.nflspot.com ... I want to add a feed in the bottom right section, under extras... I figured there was some code to copy in there and I would be set.
|
|
|
|
Jul 10 2007, 08:13 PM
Post
#4
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Sorry for not getting back to you till now.
Hmm...I don't know if you'll be able to get it to show up the way you want by simply including the feed like this CODE <?php include("path/to/your/gallery/rss.php"); ?> So let me update zenith_includer.php for you so that it's compatible with your version of the gallery (I've not touched it in a long time); it does exactly the thing you want. Expect a reply from me within the coming two days -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Jul 13 2007, 01:20 AM
Post
#5
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Attached is the updated zenith_includer.php file. Here's what you need to do:
1. Replace your existing zenith_includer.php with the one attached. 2. Insert the following line wherever you want the thumbnails to appear on your shtml page CODE <!--#include file="path/to/your/gallery/zenith_includer.php"--> Replacing "path/to/your/gallery/" with your actual path. I've never used ssi's; I got the above from here. You can set things such as whether to display the last added pictures or random ones, how many pictures to display and whether the title, date or views counter is shown by modifying the appropriate settings at the top of zenith_includer.php If you need to customize it in another way, i.e. change things like the size of the thumbnails, just let me know.
Attached File(s)
-------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 06:04 PM |