Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Maximite Basic Program Storage Running
Author | Message | ||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Maximite Basic Program Storage Up & Running. As per Glenn's suggestion, I have set this up at: http://www.themaximitecomputer.com/max/Programs/ With an entry, and explanation page into it at: http://www.themaximitecomputer.com/submit-basic-program/ I tend to think it may end up hosting a lot more than BASIC Programs, but we will see how it evolves. I have a nice little chunk of software that will keep a sub-directory on a hard drive of a PC, or many PCs for that matter, in sync with a web page structure. I love it, I hated drop-box the free equivalent, as it went off line on a regular basis, gave heaps of silly errors when syncing, but GoodSync is a product you pay for, and it works just great. Not all that expensive. So I drop a file in a folder on my PC, and it can be synced to the web with two button clicks, in fact I think I can automate it on file change, but I need to play with the structure a little. This part of the project isn't a problem. GoodSync uses a sub-dir for its own housekeeping _gsdata_ and I have been experimenting with an .htaccess file to hide itself, and _gsdata_ when I do a dir of the page. But not a lot of luck. What I would like is a program that will do the work for me. I googled for "HTML and DIR" software and came up with a lot of info, but nothing that really works for me. I am thinking it may be better to do this with our files. Example: User submits a single file: 2011-07-09-Don-McKenzie-MoonLander-Version.zip and it may unzip to, and show a directory listing of: 2011-07-09-Don-McKenzie-MoonLander-Version.bas 2011-07-09-Don-McKenzie-MoonLander-Version.txt 2011-07-09-Don-McKenzie-MoonLander-Version.pdf 2011-07-09-Don-McKenzie-MoonLander-Version.zip I unzip it to a sub-directory, and GoodSync pops it up on the web. and it will sort in that order, if the user just names the file extensions correctly, and not change the main file name, before zipping up. It also means you don't have to down load it to read the .txt file, or grab the .bas file. However the snippets of code I have found are not doing what I would like to do, so I ask the forum for assistance. I just need the ability to read the main directory, and the sub-directories, and be able to view on-line, or download these files. It would be nice if we had the date-time stamp showing, as well as file size. It would also be nice if I can manipulate it a bit, so I can put my pictures of my latest Maximite offerings, along the right hand side of the directory listing. My skills in this area are lacking, any Forum member help out, or got a suggestion? You can ignore most of this, I figured it out. http://www.themaximitecomputer.com/max/Programs/ Cheers Don... https://www.dontronics.com |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Hi happy little Maxiteers, The program storage is now set up and running at: http://www.themaximitecomputer.com/max/Programs/ Programs can be submitted via: http://www.themaximitecomputer.com/submit-basic-program/ I will eventually get my Daughter Penny in sales, to handle the receiving, unzipping, and uploading of files. I see the biggest problem will be getting the file names in the format we require. If anyone has a better suggestion than me on the file-name format, fine, but let's get it correct right now. I may negotiate at this pioneering point, but Penny will need to have the file-names correctly in future, or you won't get them added. We may need to negotiate sub-directories, until some sort of basic file structure that suits us emerges. The goodsync.com program is working great for file uploads and syncing. I now have backups on two computers, and soon to be three, in addition to what users can see on the web site. PHP Volunteer Coder Wanted. Pays Peanuts. The program I have grabbed to use for this nice Web directory listing, is free provided you keep their credits intact. However the file naming convention I would like to use, may well mean long file names over 43 characters, and these are cropped to the shortened version of 40+"..." I found this cropping lump of code easily, and played around with it, but of course, it needs padding on the other file parameters, as well as the listing frame itself. It may take me a week fidding around trying to get this right, and a PHP coder could possibly do the same job in an hour or two, so please "HELP". The home page for the File Viewer is: http://www.evoluted.net/thinktank/web-development/php-direct ory-listing-script and the file is at: http://www.evoluted.net/thinktank/wp-content/uploads/2011/02 /dirlistingv3.zip What you end up with is a sub-dir of working files, and a file named: index.php There are no tricks or gotchas with installation, as you just plonk the code in the sub-directory you want to list. What I would like created is: index+16.php and index+32.php Basically this is the index.php file re-written to suit a file-name which allows for an extra 16 characters, and another for an extra 32 characters. I don't know which will suit us best, but if they are created at the same time, then we have that choice. I don't need 55 Volunteers, but one would be great. So if you wish to have a look at it, please let me know, either in a private PM, or in this thread, and I will call other potential Volunteers off. Cheers Don... https://www.dontronics.com |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Schematics for Maximite products from tctech and Dontronics are now posted at: http://www.themaximitecomputer.com/max/Programs/Hardware/tct ech/ and: http://www.themaximitecomputer.com/max/Programs/Hardware/Don tronics/ However if you enter via: http://www.themaximitecomputer.com/max/Programs/ Then it will be presented in a much nicer format. Cheers Don... https://www.dontronics.com |
||||
sparkey Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 819 |
good effort there don im no coder but if it comes to assembly or hard whare well thats mor my side of things..im a hard whare nut ...regards i do how ever know an execelent coder but will ask am trying to get him on the "team" he had a bbc that was fully worked...regards.. technicians do it with least resistance |
||||
sparkey Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 819 |
i know this is prolly the wrong spot but i solved the "kvm"problem simply plug the mouse straight to the pc as its fine that way regards sparkey.... technicians do it with least resistance |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Thanks for following through on both of the above messages Sparkey, yes I am still looking for that Volunteer PHP coder. If it isn't solved in the next 1 or 2 weeks, I'll dive in and see what I come up with. Cheers Don... https://www.dontronics.com |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
No takers on this one? As I add to the archives, I have to shorten the file names, and they lose their ability to self explain themselves. Anyone like to re-read this thread, understand the problem, and see if they can add 16 chrs to the file names? This will help a lot. Cheers Don... https://www.dontronics.com |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Sorry cant help with this one Don, I only program in BASIC/VB/ASP and a dash of Java. Maybe a manual system would be better, or a wiki format. I've seen wiki's used for all sorts of stuff. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Thanks Glenn. I'm starting to get there. See the messages at the bottom of this page: http://www.evoluted.net/thinktank/web-development/php-direct ory-listing-script The DIR system works fine, it simply doesn't cover long file names, and I feel we need a long file name description, to explain the files in a more constructive way. My goodsync.com disk to web synchronizer works a treat for this job. Hover your mouse over the files at: http://www.themaximitecomputer.com/max/Programs/index.php?di r=Hardware%2FDontronics%2FLCD%2F This is a great little directory lister. Cheers Don... https://www.dontronics.com |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Decided to persevere. Have expanded the file name length from 40 to 75 http://www.themaximitecomputer.com/max/Programs/index.php?di r=Hardware%2FDontronics%2FLCD%2F Should do the trick. Cheers Don... https://www.dontronics.com |
||||
Print this page |