Welcome to Geeklog Sunday, November 17 2019 @ 03:43 pm EST

Geeklog Forums

Hacking Static Page Plugin to pull from File system

Status: offline


Forum User
Registered: 05/03/03
Posts: 30
Location:North Carolina
I have been working on a site that had 1500 static pages and have hacked the static pages plugin to load pages out of the file system.Basically, the plugin loads the text of a file from the file system and inserts it into the database for searching.It also can rewrite changes made through the web admin back to the file.I made these changes so that the pages could still be edited with dreamweaver to make complicated html.I also wrote a bulk page loader that recursivly adds all the pages into the db.I also hacked in tidy from the wc3 to clean up the html of each page when it is bulk loaded.It also rewrites all the local links to point to the correct static pages.All of this hackery requires changing the static page functions and adds a field to the data base.My question is... Does anyone else care about this code. Should I try to submit this to the base code.and does anyone have any ideas that I should add if do.thanks,Andrew
I work for a Wilmington NC Attorney

Status: offline


Forum User
Regular Poster
Registered: 06/01/03
Posts: 96
I would like this.

Status: offline


Forum User
Registered: 17/12/01
Posts: 33
I'm not sure I completely understand what this hack does but if I'm understanding correctly I think it would be very useful for any site that contains a large number of static pages that need to be updated on a regular basis. I'm exploring using GL for commercial applications and this may make a big difference in how easy I can make it for clients to update their own static pages (clients updating their own pages scares me - this may make it a little less frightening). You should at the very least release the code and let the GL community give you feedback.

Status: offline


Forum User
Registered: 22/03/03
Posts: 4
Release the code, i want to see exactly what it does. It's sounds pretty cool.

Status: offline


Forum User
Registered: 27/03/03
Posts: 5
This sounds pretty dope.. Let me know when you release it.. I know def ways to use this.. seshome@msn.com

All times are EST. The time is now 03:43 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content