Forum OpenACS Development: Improvements in Lars-blogger packager

Hi!

I'm trying to do some improvements in lars-blogger package. I think it's a kind of deprecated but I'm using it since 3 years ago and it commit my requirements.

But I see some things I need to improve. I'm asking if any of you have resolved it :

- Use title as URL ("title_of_the_post" instead of, for example, " one-entry?entry%5fid=33146" )
- Use a number of article (numbering articles when I show more than one post)
- A bug with date (calendar widget)

Any of you have this things resolved?

Thanks

Collapse
Posted by Nima Mazloumi on
consider using xowiki. there is an import available for existing blogs.
Collapse
Posted by Malte Sussdorff on
I wrote the import for XoWIKI and it does all what you need. But feel free to work on it manually 😊.
Thanks!

I'd try to do it manually.

Now it's hard for me to update my system and I only have time to custom the package (you can see it at www.cesareox.com/personal/colaboraciones )

Thanks so mucho for your answers!

Collapse
Posted by Mark Aufflick on
for your first issue - I hacked up the following patches a few years ago (with some inspiration from Vinod Kurup if I remember correctly). Be aware that the following diffs are on my *really old* openacs installation (version 4.something).

tcl/entry-procs.tcl : http://pastebin.com/f73564119
tcl/rss-procs.tcl : http://pastebin.com/f65df6cca (lookout that this diff contains other - very nasty - hacks that will be irrelevant to you)

I won't give you my entry-chunk diff because there's all sorts of nastiness, but you need to replace relavent urls with the permalink url function in the above entry-procs diff.

Lastly you need to implement an appropriate index.vuh, something like http://pastebin.com/f44cf61

Note that this is a naive approach and one obvious limitation is that if you post two entries with the same normalised title on the same day you're going to have an issue.

Hope that saves you a bit of work and doesn't cause more confusion!