Fetch only working with PHP pages, not HTML Fetch only working with PHP pages, not HTML
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fetch only working with PHP pages, not HTML

Started by mariahxxx, January 16, 2009, 12:28:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mariahxxx

Hey guys I have a question that I searched for and couldnt find. I want to use fetch on an html page that has been in use for almost 5 years and changing all the links would be really hard to do, but I cant get Fetch to work with .html pages, only .php pages.

Any ideas or is this not possible?

thanks in advance!

vuud

You have a few options...

1) Do some magic using server side includes to run a php file

2) I think I saw some java script code to pull images

3) Tell your web server to parse html files for php code (not easy if your hosted).

All in all, it was written to support php pages
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

mariahxxx

ok thanks.

I asked my hosting tech and within a minute or so he had it working :) Sweet!!!!!!

Thanks so much for your help!

Now my next question is this: In some of my categories I dont create a new album when I add a file, I just add it to an existing album so therefore it doesnt show up on the top row of latest updates, which is fine.

But I would like to know how to make it show up using Fetch for members to see when a new file has been added.

I've been looking through the exmample documentation and cant find this info so I thought i'd ask. :)

thanks so much again!

bb3

Quote from: vuud on January 16, 2009, 05:32:43 AM
You have a few options...

1) Do some magic using server side includes to run a php file

2) I think I saw some java script code to pull images

3) Tell your web server to parse html files for php code (not easy if your hosted).

All in all, it was written to support php pages


sorry if i may sound dumb but how can i make magic using server side includes to run a php file? fetch doesnt work in my html page www.redlens.org
thanks

Joachim Müller

Ask your server people how to run ssi. Do not try to hijack other's threads. Locking.