0x47ea9a4e

Asaph Beta 2

Based on the wonderful feedback I got on my last post, I just put together a new beta version of Asaph. It fixes the most common problems people had with the last one. This includes:

  • Usage of cURL or url fopen wrappers, based on what's available
  • magic_quotes are now reverted automatically
  • The RSS Feed should now display images properly
  • Lots of smaller bugfixes

Again, to install just unpack the zip, enter your database settings in lib/asaph_config.class.php, upload it to your webserver and point your browser to admin/install.php.

If you already installed the previous version, just replace all the files and skip the install step, as the database layout didn't change.

Asaph version 1.0 - ZIP ~50kb - Updated: Asaph version 1.0

I have some more plans and ideas for future versions of Asaph. Don't hold your breath though - this will take some time :)

Javascript, PHP, Web Technology, Asaph / 2008.03.26 - 19:47

24 Comments:

2008.03.27 - 07:55

Thanks for the update, warning to others, don't just replace all the files on your server - the data directory needs to remain untouched or you lose all your post images...

also, while the RSS feed now shows images, it also appends an id to the read more link, resulting in 404 errors e.g. www.boldfish.co.uk/stuff/8

looking good though!

2008.03.27 - 10:05
#2: Leo

Thanks!

2008.03.27 - 14:10
#3: Jerod

Wow, that was fast. Thanks!

2008.03.27 - 15:47

I am experiencing a problem with images and quotes getting their heads chopped off on the top row of the microblog.

jerodsanto.net

Please check out my site and you will see the image of an Amazon album has the top 1/5 cut off. When you click to view it in front everything is fine. This also happened on a large quote I started with and I had to remove some of the words to make it fit.

Anybody else having this problem?

Other than this, I love Asaph. Thanks!

2008.03.27 - 15:58
#5: drazin

very cool application. please continue to use feedback and move fwd with richer features and more robust functions.

very similar to www.notcot.org which is one of my favorite sites.

2008.03.27 - 17:52

@jerod: I would say "It's not a bug, it's feature" :)
Asaph cut the picture in a way that all picture on the website have exactly the same size without screwing with the apsect ratio.
It's technically possible to resize picture in way that the whole image (and also the quote) is shown but the design of the blog will be... unbalanced.

2008.03.27 - 18:08

#4: Well, thumbnails are always generated in the specified size (that is 256x192 by default). If the source image has another aspect ratio than 4x3 (256x192) the thumbnail will only show a part of the image - the center. So your thumb is not only cropped on the top, but also on the bottom.

I still felt this is the best solution, as you can rely on all your thumbnails to be in the same size.

On the large quote issue - either restrict yourself to short quotes, change the font size for quotes in the .css file or change the layout completely to allow longer texts.

2008.03.27 - 20:41
#8: Jerod

Thanks, I understand your reasoning. Short quotes is not a big problem for me, but maybe an ability to choose how image is cropped would be beneficial.

Maybe too much work and not enough gain...I don't know...

2008.03.28 - 00:07
#9: nomatta

Cool stuff, pls add feed-info to the html-header :)

2008.03.28 - 01:00
#10: nomatta

Could you improve the render-quality of the images? Get really crappy with larger pics (>800*600)

2008.03.28 - 01:58
#11: nomatta

ok, excuse my talking rubbish here.

just one things: should be background default to white not black? (if the image is to small/wrong sides etc?)

2008.03.28 - 07:17
#12: stan

well, thanks first for that. i'm on my way to install it.

do you intend to/did you think about putting the source into some svn/git public repository ?

2008.03.28 - 10:46
#13: Hannes

hm,
I had to add an z-index:999; to the #whitebox id so the image would stay on top all the time.

2008.03.29 - 23:18
#14: Leo

If I could make one request, it would be to be able to post video's...maybe only viewable in the "white box" when you click on it (like images) or maybe as a clickable image of one of the video frames that links to the video page...

2008.04.01 - 05:26
#15: asapher

darn, i lost the data files, anyway i could regenerate for the admin?

2008.04.01 - 18:36
#16: alone413

Love it!

cURL support is much loved.... but does anyone know how to have more than 9 posts per page on the stock theme? Dominic? Allo?

I'd love to whip up some themes if the "tags" or switches could be documented.

2008.04.01 - 23:07
#17: Dominic

#15 asapher: You could write a script to re-grab all the images if you still have all posts in your database. But I'm not going to do that for you, sorry :)

#16 alone413: There is a $postsPerPage setting in the config file. Just change it.

2008.04.04 - 06:48
#18: Cawlin

Have been fooling around with asaph the last couple nights and thought I would share what I have going myself.

internetjogging.com/things/

I added some mootools effects and changed the rss feed template to make it more useful for myself.

Hope you all like it!


2008.04.04 - 16:56
#19: Andrew

I've been trying to get it to work, and while its installed and fine, I get no option to add images. I must be failing hard here, but I just don't see how/where :(

2008.04.04 - 17:19
#20: Dominic

Yeah, I'm sorry. There is no "documentation" or manual yet, that explains how this thing actually works. For now, you can only watch the screencast:
www.phoboslab.org/files/asaph/asaph-about.mov

In short: Drag the bookmarklet from the admin menu to your bookmarks, and click it whenever you see something interesting :)

2008.04.04 - 17:49

@Cawlin: Your tweaks are very cool! I especially love the changes you made to the RSS feed. Mind sharing??

2008.04.05 - 01:46
#22: Cawlin

@Jerod Santo

I don't mind sharing at all. Shoot me an email if you want the rss template. I am working on releasing a full template with similar enhancements all around.

jogger {at} internetjogging {dot} com

2008.04.06 - 17:47
#23: Smaran

Unfortunately, my host doesn't offer MySQL 4. Have you considered making Asaph MySQL 5 compatible?

2008.04.06 - 18:17
#24: Dominic

Asaph is MySQL 5 compatible. MySQL 4 simply is the mininum requirement for it.

Post a Comment:

Comment: (Required)

Name: (Required)

URL: