SourceForge.net Logo
 Name  
 Pass

user list --> tw


news
documentation
screenshots
stats
unsorted
project page
download

Posted in documentation at 2003-12-26 18:09:23  with 8 views
modules -- Writing modules for pre v0.9

There are up to four parts to writing a module for a file type of your choice. One of the more important parts is the {module}_one.pl script which is called on each object in viewone.pl. viewone.pl displays all of the objects in one page in a neat table format. Consider an image type. A useful thing for this script to do for images is to display a thumbnail for this image, and generate and save a one if one isn't found. It also links to the original (presumably large) image as well as the viewsmall.pl script which will be discussed later. There are some variables that are globally accessible that can be used to write a useful module:
  • $user_path - The path on the disk to the user's root directory for this object. Begins with a slash but does not end with one.
  • $param_dir - The directory from the user's root directory to the object. Begins with a slash but does not end with one.
  • $objectname- The object name. Does not begin or end with a slash.
Obvio ... [more]

Posted in documentation at 2003-12-26 15:15:26  with 6 views
scripts -- Listing of scripts and interactions for pre v0.9

Below is a picture showing major interactions between scripts along with what each script does. The images don't appear to have shrunk well so you probably want the full sized image instead of the smaller one (click the link not the thumbnail).     [link]

Posted in documentation at 2003-12-26 15:13:45  with 5 views
database -- Database table layout for pre v0.9

Below is a list of tables in the database along with their fields and purpose. The images don't appear to have shrunk well so you probably want the full sized image instead of the smaller one (click the link not the thumbnail).     [link]

Posted in news at 2003-12-25 08:56:51  with 5 views
dec25 -- Code updates

Happy Holidays to everyone. As I am on winter break I've started doing a lot of work on Merriment again.

Here's a quick list of what I've been working on pulled from the Changelog:

  • Attempts to close html tags that are cut off at the end of each post in frontpage.pl
  • Added support for display of images in directories that are not in the database ("unsorted" objects)
  • Optimizations to minimize mySQL lookups
  • Used proper $connection->quote around all mySQL statements
  • Properly abides by user, object, page, and unsorted "hidden" flags
  • Closes connection to database after every exit or redirect and at end of files.

If you are interested in the project, I highly recommend pulling the newest code from CVS instead of using a release. I try to only commit code that works, although that occasional bug slips in :)

If you look at the stats page, it says that there have been no CVS activity in ... [more]


Posted in news at 2003-09-09 21:40:18  with 23 views
wanted: time --

School just kicked in. I'm finding myself busy almost the entire time that I am awake. This is not in itself a bad thing, except that I don't have any time to work on this project. Updates to the code are going to be slow. If you want the newest, I suggest checking out CVS. There will likely be little updates every now and then when I have some time to spare, but I'd much rather be getting paid at work or building robots :)

I've been tossing around in my head the idea of renting a server. I've been looking at a place that will give me a server with 40 gigs of disk for $270 a month. I would run my engine on there and sell space for people who might have a use for my script but no server, or just want to support its development. My current idea is for it to be really cheap; I don't want to make a profit, but I wouldn't mind a small incentive to continue development (plus, I'd get to use some of the space to host my personal stuff as well). I'm currently thinking $2 a month fo ... [more]

Posted in news at 2003-08-29 08:42:07  with 11 views
description and front page bug -- more bugs!

I found a couple of new bugs while using this code to run my main website. There is a bug in the editing code that does not like it if you use an apostrophe in the text because it builds a broken mySQL string. I'll double check all of the text field stuff for the next release. There is also a problem where pages that aren't submitted to a main directory grouping cannot show up on the front page although that behavior might be desired. I'll see if I can hack in a checkbox or something.     [link]

Posted in news at 2003-08-26 20:26:21  with 15 views
bug and new demo -- Stuff happened

I found a bug in user updates. I haven't looked at it, but what happened to me was that when I would edit a user, the level of authentication field would get lost. I suspect I know what is wrong

In other news, I'm running the newest CVS (as of Aug 26, tagged as serv0) on my server, serv0.dyndns.org. Oops. I just realized that links will be broken in my model of closing html tags. I guess I can't link to my stuff :) Anyway, I'll eventually update the front page of www.polynomial.org to have a link to my server.     [link]


Posted in news at 2003-08-25 20:02:00  with 13 views
maybe not -- second thoughts

On second thought, there probably won't be an overhaul of the system. I thought about it a bit more and I think the drawbacks outweigh the benefits.     [link]

Posted in news at 2003-08-23 21:57:44  with 17 views
bah -- development for next beta

Basically, don't use any of what I have written if you plan to upgrade :) In the next version, each page and object will have a unique ID. This of course breaks a lot of things, and I can think of no easy way to even upgrade a current system to it. It sucks because my test setup will have to be redon, but I think the benefits of using a unique ID will be better. One benefit is that pages can have repeated names. Another benefit will be that links will be less messy and shorter. The downside of course is that it is a minor overhaul of the system which might take some time to get working.     [link]

Posted in news at 2003-08-21 08:54:56  with 21 views
bug in frontpage -- this has been fixed

I've noticed a problem with the front page in that it doesn't close HTML tags that are opened in the first 1000 characters of the post that it reads. I'm working on something that closes each open html tag at the end of the post, but I don't have much time with school starting again. Basically I scan for all tags and push them onto a stack and pop them when they're closed. At the end of the 1000 characters, if any tags are still open I close them. I don't even know if that is valid for everything, but we'll see :)

update: I fixed it. Here is a test
left sidesee if this gets closed. If not the rest of the page will be messed up
  • one
  • twofiller to reach 1000 characters
    ssssssssssssssssssssss sssssssssssssssssssssssssssssssssss sssssssssssssssssssssssssssssssssss sssssssssssssssssssssssssssssssssss sssssssssssssssssssssssssssssssssss sssssssssssssssssssssssssssssssssss sssssssssssssssssssssssssssssssssss ssssssssss ... [more]