...more recent posts
In making the new email posting capability (see last post) I created some of those never clearing 'new posts' for everybody. So I cleared everybodies unread posts for this page. Possibly you missed some actual real posts. You might want to lookback if you are coming here from [1 new post].
Seems like this new email to web connection is a little rough around the edges. I'll keep working on it. Thrilled to have gotten this far though.
Now if only I had a blackberry.
You can now post to any page you have permission to post to by sending an email to autopost@digitalmediatree.comThe subject line must be the path of the page, so for instance, I made thesubject of this email: /systemnewsNote the preceding slash, but no trailing slash.The body of the message must start with three stars, then your password(case sensitive) then three more starts. For instance:
***fdFEA42w3w9***
Then skip a line if you want (not necessary) and write your post. Yourpassword, of course, won't show up on your page.IMPORTANT: Don't send HTML encoded email. You can use HTML (like <br> or <i> or whatever) like you usually do when posting from the web, but don'tuse this email posting feature yet if you aren't sure that your emailprogram sends plaintext email.
If you can read this, it worked!
this_is_a_test
OK, you can now delete pictures (one at a time) from the bottom of the upload page. You can only delete your own photos.
Well, instead of doing the real work on the picture upload system I built a random picture grabber instead. Where /getpic/502 gets you picture number 502, /randpic/502/503 gets you (randomly) either picture 502 or 503. There is no limit to how many picture numbers you can use. So /randpic/502/544/545/811/191/1032/777 gets you one of those 7 pictures. Each time the page is reloaded it picks another random image from that list. It doesn't check for repeats, so possibly it will fetch the same picture two (or more) times in a row.
Also, it doesn't matter what else is in the URL as long as /randpic/xxx/xxx/xxx is at the end (so digitalmedaitree.com/randpic/1/2/3 is the same as digitalmediatree.com/jim/weblog/randpic/1/2/3)
More on photos: I've slightly changed the /upload page so now it reports the total disk space occupied by all your uploaded files. The total for everyone is 42 megabytes right now.
I'm working on allowing deletes from the /upload page, but this is proving a little tricky. If you know you have lots of (or a few big) photos you would like to delete feel free to post the id numbers below and I'll erase them by hand.
The database is around 30 megs, so that makes up most of the 70+ megs of space we are occupying right now (out of 100 we are alotted.)
Alex pointed out that the new framed archive view was not working in his browsers (nav 4.x on Mac and I think an older IE on windows.) I believe I have fixed this issue (confirmed for 4.x on mac, but not for whatever the older IE on windows is.) Can anyone confirm this, or spot other problems? Thanks.
Thanks to Alex for finding a somewhat subtle bug. If you tried to move a page by changing the path in [editpage] (which is how you would move a page) and you changed the name to a longer but otherwise similar name (from /test/test2 to, say, /test/test234567) the system would get confused. And that's putting it mildly. Should be fixed now.
In [editpage] you can now switch from the 'standard template' to 'use your own HTML'. If you choose to do this you must make the change to 'use your own...' and then come back to [editpage] a second time and you will see some different options including two new posting boxes (textarea boxes) one labeled 'Opening HTML' and the other 'Closing HTML'. When your page is requested the system will print out 'Opening HTML' followed by your currently active posts from the database, followed by 'Closing HTML'.
As of now the posts from the database are printed as rows in a table (where each row has one column) so it expects a <table> to already be set, plus that it will be closed (</table>) in the 'Closing HTML' (along with </body> and </html>.) I think I'll take out the table in the future and just seperate the posts with <p> tags.
Also there is no way yet to create a 'use your own HTML' page from /create. I'll add that tomorrow. Right now you'd have to create a regular page and then change it in [editpage] (and then go back to editpage and add in the HTML!)