Hari's Corner
Humour, comics, tech, law, software, reviews, essays, articles and HOWTOs intermingled with random philosophy now and thenLiteDoodle - Simple PHP comics/image blogging system
Filed under:
My software by
Hari
Posted on Thu, Mar 20, 2008 at 14:59 IST (last updated: Thu, Oct 30, 2008 @ 22:59 IST)
install-readme.html
file. It has some useful information. It's a very rough-and-ready tool, so you won't find much polish in the code, but it does the job and is not very complicated.
Download: LiteDoodle.zip (25 kB)
Comments closed
The blog owner has closed further commenting on this entry.
48 comment(s)
Comment by (visitor) on Fri, Mar 21, 2008 @ 21:32 IST #
Yeah, I was bored and registered this domain last summer or so. Maybe we could turn it into a community driven comic blog for people to upload their comics to. Hmmm...
Comment by (visitor) on Fri, Mar 21, 2008 @ 21:56 IST #
Comment by Sudipta Chatterjee (visitor) on Sat, Mar 22, 2008 @ 07:51 IST #
Sudipta. I know. I've already shared it with a couple of comics communities on the internet.
Comment by hari (blog owner) on Sat, Mar 22, 2008 @ 09:20 IST #
Comment by (visitor) on Sat, Mar 22, 2008 @ 18:27 IST #
If indeed we need to work on a community comic blogging system, we have to work on a new solution or use one of the pre-existing CMSes and modify them to suit our needs.
Comment by hari (blog owner) on Sat, Mar 22, 2008 @ 18:49 IST #
Comment by (visitor) on Sun, Mar 23, 2008 @ 02:37 IST #
However, that would be a nice starting point.
Comment by hari (blog owner) on Sun, Mar 23, 2008 @ 08:06 IST #
Using existing code, especially of one that is widely and heavily used is subject to attacks from the evil people. ;)
I guess I better find the time and speed my python learning up a notch, I would love to create one using Python if I do. But then again, I'm always a frontend type of guy when it comes to websites. Also spare and copious amounts of time are always against me as well. :(
Comment by (visitor) on Mon, Mar 24, 2008 @ 20:10 IST #
I think we must think of several options here and not just using a unified multi-user community CMS script.
Comment by hari (blog owner) on Mon, Mar 24, 2008 @ 21:00 IST #
http://plone.org/
Comment by (visitor) on Mon, Mar 24, 2008 @ 21:31 IST #
Comment by hari (blog owner) on Mon, Mar 24, 2008 @ 21:42 IST #
Comment by (visitor) on Mon, Mar 24, 2008 @ 21:56 IST #
But Plone seems to be different from the common-or-garden PHP-MySQL CMS solution, so I'll keep an open mind about it ;)
Comment by hari (blog owner) on Mon, Mar 24, 2008 @ 22:07 IST #
But yeah, that's why I said for something like this, might want to build from scratch. Would take a lot of time and dedication but really that's the only way to get what you need out of it without all the extra crud that comes with CMS's or Blogware.
Comment by (visitor) on Mon, Mar 24, 2008 @ 22:17 IST #
Comment by hari (blog owner) on Mon, Mar 24, 2008 @ 22:20 IST #
Doesn't b2evolution have the option for users to have their own blog or handle multiple blogs? Something like that would work.
Where there's a main page that might have the most recent posts from users and then they have their own space.
Comment by (visitor) on Mon, Mar 24, 2008 @ 22:37 IST #
Comment by hari (blog owner) on Mon, Mar 24, 2008 @ 22:54 IST #
Comment by (visitor) on Mon, Mar 24, 2008 @ 23:10 IST #
Comment by (visitor) on Tue, Mar 25, 2008 @ 00:44 IST #
Comment by hari (blog owner) on Tue, Mar 25, 2008 @ 09:33 IST #
Comment by (visitor) on Tue, Mar 25, 2008 @ 19:08 IST #
If you do enable registration, then be sure to install the latest anti-spam updates or you'll be deluged by a flood of spam registrations.
We need to do a bit of work, including customizing the look and feel of the website to make it unique and appealing. Also we need a bit of content as well in the home page to draw in some response. :)
I think you need to rethink enabling blog creation on new user registration, because that can lead to a lot of spam.
Even I had to disable user registration here because of spam user problem :-/
Comment by hari (blog owner) on Tue, Mar 25, 2008 @ 19:57 IST #
Comment by (visitor) on Tue, Mar 25, 2008 @ 20:16 IST #
Comment by EdgeVerse (visitor) on Wed, Mar 26, 2008 @ 00:34 IST #
Comment by hari (blog owner) on Wed, Mar 26, 2008 @ 08:21 IST #
Comment by TGecko (visitor) on Thu, Jun 26, 2008 @ 13:05 IST #
Comment by hari (blog owner) on Thu, Jun 26, 2008 @ 16:01 IST #
Comment by TGecko (visitor) on Fri, Jun 27, 2008 @ 12:00 IST #
RSS is just a subscription. Users click on the RSS link on your blog and subscribe with a newsreader/Firefox Live Bookmarks. If you want to change the number of latest items on the RSS feed, change line in the config.php file:
// Number of RSS entries to publish as feed
define (NUM_FEED, 10);
to whatever value you want (other than 10).
TO include the RSS link in your blog theme (I see you're using a custom design), just add a link to the RSS file anywhere on your blog.
Also add this line inbetween the <head> </head> of the index.php file.
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss.php" />
Comment by hari (blog owner) on Fri, Jun 27, 2008 @ 12:12 IST #
Comment by TGecko (visitor) on Fri, Jun 27, 2008 @ 13:25 IST #
In this case, you had changed the theme, so I think you missed out the RSS link in the header.
Generally no changes are necessary to get the RSS feed to work. Only thing you might want to change is that number of recent items.
Comment by hari (blog owner) on Fri, Jun 27, 2008 @ 13:35 IST #
Comment by Jim (visitor) on Fri, Feb 20, 2009 @ 08:44 IST #
Comment by Hari (blog owner) on Fri, Feb 20, 2009 @ 08:52 IST #
Comment by Jim (visitor) on Sat, Mar 28, 2009 @ 10:59 IST #
You should search for a string like this:
<?php echo get_comic_description ($comic['name']) ?>
Just below it and *before* the ]]> add this text:
<img src=<?php echo SITE_URL . COMICS_DIR . $comic['name']; ?> alt="comic" />
If you want to put it above the description, put the code above the description, just after the <![CDATA[ start tag.
Comment by Hari (blog owner) on Sat, Mar 28, 2009 @ 14:58 IST #
Comment by Jim (visitor) on Mon, Mar 30, 2009 @ 09:15 IST #
Comment by Hari (blog owner) on Mon, Mar 30, 2009 @ 13:03 IST #
If you've ever been to Webcomic planet, they check updates by RSS. Mine doesn't show up and this reason was given to me.
"Jim your RSS feed is invalid, it’s missing the field which shows when your RSS entries were published"
Any ideas, and as always,Thanks.
Jim
Comment by Jim (visitor) on Wed, Apr 29, 2009 @ 10:08 IST #
Ask them what field is required (the name of the element) and I'll tell you how to add it to the RSS code.
Comment by Hari (blog owner) on Thu, Apr 30, 2009 @ 08:48 IST #
JIm
Comment by Jim (visitor) on Fri, May 1, 2009 @ 03:32 IST #
The RSS has 2 kinds of publish date: one for individual entries, which is displayed correct in the feed, but I think I didn't specified the publish date for the entire feed as a whole. I think that part has to be added to the feed for it to work correctly.
Comment by Hari (blog owner) on Fri, May 1, 2009 @ 08:46 IST #
Comment by Jim (visitor) on Tue, Jun 16, 2009 @ 09:53 IST #
I assume only a SQL database-based solution will give you total flexibility to handle date and time in such a manner as to re-arrange archives according to your own specified date rather than taking the file modification date.
The simplicity and automated aspect of the current system is entirely due to restricting it to filesystem-derived information. If you want to add more complexity, you will lose most of the automation and ease of use of the current script and it will become just like any other blogging platform. I will also have to program an additional web-based admin panel.
I could write another version of LiteDoodle with SQLite, but it won't be at this point of time because I'm a bit busy at the moment and cannot dedicate myself to programming.
Comment by Hari (blog owner) on Tue, Jun 16, 2009 @ 10:00 IST #
The rss issue is a minor inconvience that is specific to one site really. If I could get it to work, it would increase my readership quite a bit. That's where my thinking is. The date is displayed when the rss is loaded into the browser not when it was updated on the server. So all comics have the same day and time.
If I wanted something more complicated I'd use wordpress with a comic plug in. This works great for me because I don't have to set up a database or worry about it failing. I'm using it for all of my comics current and past for this reason.
I'm sorry for the trouble.
Comment by Jim (visitor) on Tue, Jun 16, 2009 @ 10:48 IST #
As for RSS feed readers, that's a different issue. I've noticed that most of them usually handle the date on the client side, so I don't think that problem can be fixed by the feed itself. It depends on the way the RSS reader is programmed. Even the RSS reader I use, Akregator, displays only the date when the feed was fetched, not the actual date of publication.
Hope that clarifies the other issue.
Comment by Hari (blog owner) on Tue, Jun 16, 2009 @ 11:02 IST #
Comment by Jim (visitor) on Fri, Jun 19, 2009 @ 11:47 IST #
Glad to know you got it to work, though :-)
Comment by Hari (blog owner) on Fri, Jun 19, 2009 @ 16:16 IST #