Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-03

CMS in Pascal ?

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

CML Christian Hartnick
to Michael Van Canneyt

http://wiki.freepascal.org/Lazarus_Application_Gallery#Hagen_.28crossplatform.29

Michael Van Canneyt wrote 19 lines
Hi, I'm looking for a minimalist flat-file CMS. There are many floating around, I found a list on e.g. http://www.hongkiat.com/blog/flat-cms/ Is there one written in Object Pascal ? Michael. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Kostas Michalopoulos
to CML Christian Hartnick

I don't know about CMS, but if you are only looking for a few static pages, i wrote a small tool some time ago that generates a static site with few generic static pages, galleries and news. It is kind of a poor man's iWeb, except it doesn't have a WYSIWYG element at all :-P.

http://runtimelegend.com/tools/webgroan

It has a few built-in themes but making your own is trivial. There is no binary download at the moment, but it should compile out of the box with Lazarus.

CML Christian Hartnick wrote 33 lines
http://wiki.freepascal.org/Lazarus_Application_Gallery#Hagen_.28crossplatform.29 Am 12.03.2016 um 10:25 schrieb Michael Van Canneyt: > > Hi, > > I'm looking for a minimalist flat-file CMS. There are many floating > around, > I found a list on e.g. > > http://www.hongkiat.com/blog/flat-cms/ > > Is there one written in Object Pascal ? > > Michael. > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160313/42e7ce89/attachment.html>

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt: I'm looking for a minimalist flat-file CMS. There are many floating around, I found a…
Michael Van Canneyt wrote
Is there one written in Object Pascal ?

Yes, PWU (aka Powtils) included one. I used it to run a small wiki on my server some years ago. The content was in a plain text file, and the SCMS (aka wiki.cgi) inject a menu, header and footer.

It came as part of the PWU examples. I have the SCMS project files I used. I can archive it and email you a copy (or make it available for download on my server) if you want.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys
Graeme Geldenhuys wrote
It came as part of the PWU examples.

Did a quick Google search to see if the Powtils examples are still available online:.

http://z505.com/powtils/examples.shtml

The online demo below still works. :) The default password to edit and create pages is 'simplecms' - if you wanted to see how the editing works.

=====================
Simple Content Management System
--------------------------------
Try Demo [http://z505.com/cgi-bin/scms/scms.cgi?p=main-page]

SCMS is a bone simple content management system! It uses no database and therefore is only a small learning example (no external reliances). =====================

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys: Yes, PWU (aka Powtils) included one. I used it to run a small wiki on my server some…
Graeme Geldenhuys wrote 10 lines
On 2016-03-12 09:25, Michael Van Canneyt wrote: > Is there one written in Object Pascal ? Yes, PWU (aka Powtils) included one. I used it to run a small wiki on my server some years ago. The content was in a plain text file, and the SCMS (aka wiki.cgi) inject a menu, header and footer. It came as part of the PWU examples. I have the SCMS project files I used. I can archive it and email you a copy (or make it available for download on my server) if you want.

AFAICS It's on Github:
https://github.com/z505/powtils/

Michael.

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt
Michael Van Canneyt wrote
AFAICS It's on Github: https://github.com/z505/powtils/

It seems so, though I see the "simple-scm" demo is not included any more, though the "simple-wiki" is still there. I can't remember what the difference was. I know my wiki/cms was based on the "simple-scm" demo, with some of my own mods like a special listing page, more tags, the start of Creole 1.0 tag support etc.

Also, from memory (but this was like 4-5 years ago) post PWU v1.6.0.2 was a rewrite of PWU and pretty unstable for a long time. So I kept using v1.6.0.2 for my projects that used PWU. Maybe v1.7+ became stable again - not sure. I just checked, I still have the original archive for the v1.6.0.2 release and my custom simple-cms code still compiles and runs (just tested on 32-bit FreeBSD with FPC 2.6.4).

http://geldenhuys.co.uk/wiki/wiki.cgi?p=Main-Page
http://geldenhuys.co.uk/wiki/wiki.cgi?p=Special:Index

So try the latest from Github and see how it goes. Alternatively, I can give you a copy of what I have.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email