Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Fetch only working with PHP pages, not HTML  (Read 5616 times)

0 Members and 1 Guest are viewing this topic.

mariahxxx

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 63
Fetch only working with PHP pages, not HTML
« on: January 16, 2009, 12:28:24 am »

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!
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Fetch only working with PHP pages, not HTML
« Reply #1 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
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 63
Re: Fetch only working with PHP pages, not HTML
« Reply #2 on: January 16, 2009, 02:35:23 pm »

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!
Logged

bb3

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Fetch only working with PHP pages, not HTML
« Reply #3 on: March 26, 2009, 03:27:05 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fetch only working with PHP pages, not HTML
« Reply #4 on: March 28, 2009, 12:17:25 pm »

Ask your server people how to run ssi. Do not try to hijack other's threads. Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.