Good, off, this, to the list, then. Anton.
> At 10:46 PM 08/01/02 +1100, you wrote: > I have discovered some very strange behaviour with my web provider. > Your notes are excellent and prompted me to make a tool to make > the date stamping of index files easier. I use UltraEdit as an editor > and have created a little script that I've attached to a > short cut key. > I copy the line refering to the file or folder into the clipboard and > fire off my script with the path as an argument. My script puts the > size and date stamp block back into the clipboard and I paste > it in the > correct position. I just love this Rebol stuff. > I'll let you know what I find about this goofy web site thing. > Thanks for your help. > > >Oh, ok, yes. > >I had the same problem at the beginning. > >There are two issues: > >1) Rebol Desktop is in local mode (click on little "local" > > to go to the internet.) > > Your top-level index file will be reloaded fresh each time > > if you go from rebol.com/sites/your-folder. > > But... > > > >2) Your top-level index file does not contain newer date/time > > stamps for files and folders that it lists, therefore > > they are never reloaded automatically - you must manually > > reload. > > > >The thing to do is this - and it can be quite tedious. > >Start with the file you have changed. > >It belongs to an index file. > >In your case this index file will probably be your top-level > >one. (You have just one folder don't you, at the moment?) > >In the desktop, right-click on the file (local version) > >and copy the size and date/time-stamp and paste them into > >your index.r file. > >See http://anton.idatam.com.au/rebol/index.r for an example. > >You will see each file or folder has a block with a size > >and date. > > > >Now, since you have just modified the index file, you > >should modify its time-stamp in its little header at > >the top. (Not sure this step is entirely necessary > >for the reloading functionality, but it could be a nice > >for display purposes in a more advanced reb-browser.) > > > >If *that* index file lives "inside" another, higher, index > >file, then you need to do the same thing (get the file > >info, paste it into the higher-level index file etc.) > >And continue all the way to your top-level index file. > >It's like a tree, if you modify one of the leaf files, > >then you have to update the dates on all the branches all > >the way down to the root. > > > >This is time-consuming for me at only two levels of > >folders in my reb-site. Thus, at the moment, I know > >my site is a bit out of date :) I have uploaded > >files there but not updated the index files with them. > > > >However, there is hope! > >There exists in the script library a script called > >make-index.r (I think). If you don't care about > >the formatting of your index files then this will > >be useful. > > > >But I have laid out my index files a particular way, > >and put extra information in there, which I'd prefer > >to keep so I never used it. > >However, I made a while ago a parse-index function, > >from which I'd like to grow a powerful index file > >updater. Not promising anything soon, but it > >should be cool. > >That's not the only thing I have planned, either. > >I got so sick of doing this so much that I started > >a script "rebsite.r", which will have all these > >common tasks in a nice gui. > >But I have to stop promising stuff before I get > >into trouble... > > > >Anyway, I hope that helps. > > > >I should probably post this to the list, > >what do you reckon? If it actually solves > >the problem then I think so... :) > > > >Anton. > > > > > At 12:43 PM 08/01/02 +1100, you wrote: > > > If I manually reload my Reb Site it worked --- once. > > > I will have to try playing with it some more - for some reason > > > my changes are not being propogated from my http: site to > > > Rebol's copy of the > > > my Reb site. > > > > > > > > > >How'd you go with that? > > > >Anton. > > > > > > > > > At 05:25 PM 26/12/01 +1100, you wrote: > > > > > Thanks for the tip. I am having some difficulty updating my > > > > > data though. > > > > > Do you know how I can update my files on the Rebel site? > > > > > I just can't seem to find where or how to do this. > > > > > > > > > > > > > > > >Just a quick feedback. > > > > > > > > > > > >When I clicked on edit-dbms.r, it said > > > > > >** Script Error: view-virtual has no value > > > > > >** Where: init-face > > > > > >** Near: view-virtual work-with-db-layout virtual-box > > > created-face > > > > > >virtual-box-size > > > > > > > > > > > >I see in the code, second line, you are simply > > > > > > load-thru http://... > > > > > > > > > > > >You must rather > > > > > > do load-thru http://... > > > > > > > > > > > >That's how I got it to work. (Looks nice!) > > > > > > > > > > > >Even better to check that load-thru is returning > > > > > >something: > > > > > > > > > > > >if none? do load-thru url [ > > > > > > view layout [h3 "Couldn't load-thru" h4 to-string url] > > > > > > quit > > > > > >] > > > > > > > > > > > >Regards, > > > > > > > > > > > >Anton. > > > > > > > > > > Mike Yaunish > > > > > > Mike Yaunish > > Mike Yaunish > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
