PDA

View Full Version : New Module - Publish HTML Link Pages


rochnet
05-30-2005, 04:39 PM
I added a new module that will generate and publish HTML link pages from the PHP link pages. Since some search engines do not like dynamic pages, this is a nice addon feature for php link directory to have.

It can be run stand-alone or it can be integrated into the admin panel. It works with the current php link directory version 1.012.

If anyone is interested, it can be found here:
{no longer available}

There is a readme.txt file included to help getting it setup.

Rochnet.

David
05-30-2005, 04:58 PM
That's very cool!

Thank you for the contribution.
Any chance we can see a demo?
Are the html files output in a way where they could be uploaded to another site even?

Thanks,
David

Anonymous
05-30-2005, 06:40 PM
Have not setup a demo. Will be adding an enhancement soon so can publish to a remote site (ftp). At the moment, they are generated in the same place as the php link pages as html files, and can be manually moved to another server via ftp if needed. But would like to add that auto ftp feature to the publish script as well... for sure.

For the demo, am still porting my old links to my php link directory. When its done, will post a link to view the html pages generated by this addon.

Here is a page that hasnt had any links approved yet, but you can see the categories generated from this script. No sub categories.. but it has been tested for sub categories (although not extensively) and should work.

Roch.

rochnet
05-30-2005, 09:04 PM
Ok. Have added optional remote FTP file transfer, so your published html link pages can be ftp'd to your ftp server during publication.

Can pickup this updated moduled with this link

rochnet.

David
05-30-2005, 09:17 PM
Very cool, I will make sure this gets ported to 2.0 as soon as it is done.
I will be publishing some screenshots shortly.

One reason I asked about the ability to export the html files for use elsewhere was because people have asked about this feature in the past.

I wanted to add that 2.0 will have a url rewrite feature as well, but I don't have a demo of this yet.

It is really nice to see another developer (you) working on this open source project. I know it is going to be a success.

Anonymous
05-30-2005, 09:39 PM
No problem. This is a great project. I totally support open source.

I just uploaded another version of the code in case you already grabbed my first post. If you are using a version of the mod with a conf variable named (PUB_HTDOCS) then you have old code. I replaced it with 2 new conf variables (PUB_PHP_ROOT and PUB_PHP_LINKS).

Will be trying to setup a better demo in the next week or so.

Roch.

Anonymous
06-01-2005, 09:37 PM
Here is a demo of the generated html php link directory files

Feel free to add this to your DEMO SITES page... if you want.

Roch.

David
06-02-2005, 04:15 AM
Great idea...
It's on the demo page now.

dvd871
07-13-2005, 04:26 AM
Will this mod also work with the new version 2.0 rc4?

serveruunion1
07-14-2005, 06:21 PM
wouldn't it also work to have a mod_rewrite rule to parse the HTML pages to be read as PHP on serverside?

David
07-14-2005, 07:12 PM
Yes, I think the idea of this mod is especially to allow you to output html pages that you could publish elswhere (ex. on a site that does not have PHP installed).

tonyb
08-11-2005, 11:10 PM
is this add-on available anywhere else? Just clicked the link for the zip file, just resolves to the persons directory home page.... :?

David
08-12-2005, 01:55 AM
This is a holdover from version 1.0 and would not be compatible with the current 2.0. We figured since we have mod rewrite now, that we don't need this. However, I'd love to know how it would be valuable to you, so that we can prioritize this if needed.
Thanks,
David

Dariusz
11-14-2005, 12:30 AM
Content visible to registered users only.

I have 4 websites that use PHPLD but mod rewrite doesn't work on them and I can't change the host for some time. And after all, mod rewrite is not an universal solution for everything. it is just a kind of masking the real thing.
I really do need such feature as "publish html" and I'm sure that it would be welcomed by many users.
Don't figure out that you don't need something just because you have other feature instead.
Some people may need it opposite way.

David
11-14-2005, 12:39 AM
Ok, point taken. I can't promise a time, but I have a good memory, and I try my best to listen.

Dariusz
11-15-2005, 10:56 PM
Great!
thanks and I hope to see this option in the admin panel soon.
I understand that publishing html would have some limitations.
"top hits" can't be working this way, but I don't care very much for having top hits feature. In fact I suspect that top hits page generates unnecesary bandwidth useage caused by link owners.
Anyway, having such another option in admin panel would only bring you more happy users :D

agolkar
11-19-2005, 11:57 AM
hi :)
cannot download your mod, seems like the url is not working.
where can i download it? thanks!

agolkar
11-19-2005, 12:26 PM
correction - now i could download it :) but i cannot use it anyway because i'm using phpld 2 .. how can i patch the mod to work with this version?
i think the main issue is because in phpld2 there's not admin.php and conf.php .. is it? how can i fix it? thanks