6:23 AM - New Features!
Last night I got the calendar code working. You can now view entries for this year, month, and days. I will add a viewer for single entries later.
Also i setup the following url structure for this feature:
/users/mysusername/year/month/day
for example:
to view all the entries for 2003 for jjsite:
/users/jjsite/2003
to view all the entries for september:
/users/jjsite/2003/09
to view all the entries for today:
/users/jjsite/2003/09/15
Its very important that you have the 0 prefixing days or months smaller than 10 (2 digit dates). The matching code looks for 2 integers there.
Also, the code should work in the future. If you pass in 2004 it will correctly access the entries (if they existed). If someone forward dates an entry, it should be visible.
There are two flaws, the software does not print out all the years that are applicable (which isn't a problem till 2004) and specific entries are not viewable by themselves (which i already discussed).
The first problem is easily fixed, I'm working on adding a signup year field (since) that allows jj to know where to start counting from. Existing accounts have this field setup, but new accounts do not have it set yet. (new account code is really behind)
I'm working on several other new features as well including user pics. this is a very popular feature on LJ and i think it would work great on jj as well. Initially, i will only allow one picture to be uploaded locally to the server (no seperate hosting crap). I have the storage system setup, but have not written the distrubition system. Also, i must write a servlet to allow users to upload images. (the most important part)
Once i have the system working, i will let users email me images to post in PNG format. Finally, i'll add the upload servlet.
Another requested feature has been the profile system. The backend has been done for about two months now. I just haven't had time to rewrite the preferences system. I'm testing several frameworks that might aide in building the prefs system in the future.
I plan to get back to adding one feature a week. The beauty is that each feature seems bigger than the last.
Also, i've been tweaking the website design lately. Its getting better, but still needs work. :)
location: Home