Πώς να φορτώσει έναν ιστοχώρο που χτίζεται με το iWeb σε έναν μη απολογισμό .mac/MobileMe

από Ross McKillop [[on]] 15 Ιουλίου 2008

MAC Σχέδιο & Dev Ιστού

Η έκδοση ενός ιστοχώρου που χρησιμοποιεί iWeb .mac ή έναν απολογισμό MobileMe είναι νεκρή απλή. Η έκδοση στον κεντρικό υπολογιστή/τη φιλοξενώντας επιχείρησή σας δεν είναι δύσκολος, αλλά αυτό το σεμινάριο θα σας παρουσιάσει πώς να το καταστήσει ακόμα ευκολότερο - και πολύ γρηγορότερα, ειδικά εάν να έχοντας μια μεγάλη περιοχή.

  1. Έναρξη με «την έκδοση» της περιοχής σας σε έναν τοπικό φάκελλο. Όταν γίνεστε ενημερώνοντας τις σελίδες σας, χτυπήστε Αρχείο -> Δημοσιεύστε σε έναν φάκελλο…
  2. δημοσιεύστε σε έναν φάκελλο στο iweb
    χτυπήστε για να διευρύνετε

  3. Πλοηγήστε στο φάκελλο στο σκληρό δίσκο σας που θέλετε να δημοσιεύσετε (εκτός από) την περιοχή σας μέσα. Εάν δεν έχετε ακόμα, σιγουρευτείτε για να εισαγάγετε το URL για την περιοχή σας στο διάστημα παρεχόμενο. Χτυπήστε Επιλέξτε όταν γίνεστε.
  4. επιλογή ενός φακέλλου στο σκληρό δίσκο σας για να δημοσιεύσει την περιοχή iweb σας
    χτυπήστε για να διευρύνετε

  5. Αφότου έχει δημοσιευθεί επιτυχώς η περιοχή σας σε έναν τοπικό φάκελλο, θα προτραπείτε με ένα μήνυμα λέγοντας σας ακριβώς αυτό. Χτυπήστε ΕΝΤΑΞΕΙ.
  6. iweb επιβεβαιώνοντας επιτυχή έναν τοπικό δημοσιεύστε
    χτυπήστε για να διευρύνετε

  7. Τώρα μεταφορτώστε και εγκαταστήστε w2w. Είναι μια μικρή, ελεύθερη, και πολύ εύχρηστη χρησιμότητα. Για να το εγκαταστήσετε, ανοίξτε φερμουάρ ακριβώς το αρχείο και το συρετε στο σας Εφαρμογές φάκελλος. Έναρξη αυτό από εκεί.
  8. w2w στο φάκελλο εφαρμογών
    χτυπήστε για να διευρύνετε

  9. Χτυπήστε + (συν) κουμπί.
  10. w2w παράθυρο οργάνωσης

  11. Εισάγετε τις κατάλληλες πληροφορίες για τον κεντρικό υπολογιστή δικτύου σας. Χτυπήστε Κοιτάξτε βιαστικά κουμπώστε και πλοηγήστε στον τοπικό φάκελλο που δημοσιεύσατε την περιοχή σας (πίσω στο βήμα #2).

    Εάν ο οικοδεσπότης/ο κεντρικός υπολογιστής δικτύου σας έχει έναν συγκεκριμένο φάκελλο ότι πρέπει να υποβάλετε τα αρχεία Ιστού, να εισαγάγουν εκείνο τον φάκελλο Μακρινός φάκελλος τομέας. Παραδείγματος χάριν, όταν εσείς FTP ή SSH στον κεντρικό υπολογιστή δικτύου σας, εάν πρέπει να βάλετε τα αρχεία σε ένα subdirectory του εγχώριου φακέλλου σας με τον τίτλο www - εισάγετε www.

  12. w2w παράθυρο πληροφοριών περιοχών

  13. Μόλις συμπληρώσετε τους απαραίτητους τομείς, χτυπήστε Φορτώστε κουμπί.
  14. w2w φορτώστε

  15. Αυτό που καθιστά w2w ιδιαίτερα χρήσιμο, εκτός από την ευκολία του - - χρήση, είναι ότι θα φορτώσει μόνο τα αρχεία που έχουν αλλαγμένος (ή νέα αρχεία). This saves time, because you won’t need to upload every file just to make sure the new/updated ones are sent.
  16. file listing displaying different timestamps

  17. The next time you update your site using iWeb, just re-publish to your local folder, then launch w2w and click the Upload button (you won’t need to re-enter your site info as it’s saved).
Related Posts:
  • 3 Tools to increase iWeb functionality
  • How to insert a Google Map into your website using iWeb
  • How to use CyberDuck to FTP files in OS X
  • How to delete your Plaxo account (and why you want to)
  • How to automatically upload pictures from your mobile phone to Flickr
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

    You can always opt out of this email subscription at any time.


    Bookmark and Share

    { 20 comments… read them below or add one }

    1 Stew 07.30.08 at 1:20 am

    Hi there, In step 8. you say that it will only upload changed or new files, the problem is when you “publish to folder” in iWeb, it updates the date and time on EVERY file. So using this method it will always upload the entire site :(

    Any help would be appreciated.

    2 Ross McKillop 07.30.08 at 2:10 am

    Stew -

    Which version of iWeb are you using? I can confirm for certain that v2.0.4 does not update the timestamp of the files that haven’t changed.

    3 Stew 07.30.08 at 2:43 am

    Hi,

    I have v2.0.4

    As a test I opened finder in my site folder (list view so I could see the modified dates).
    Then in iWeb I did a “Publish to Folder”
    Then in finder I watch as ALL my site files are removed and recreated with new date time stamps Today, 11:40

    4 Carlos Neumann 08.04.08 at 3:28 pm

    Hi Ross, I wonder if you could help me out.

    We’re redoing our whole website, it will now be hosted by Netsuite (they host all the back end of our business as well, accounting, CRM, etc…).

    I want to transfer some of the info we had in the old website into the new one, but since the design has changed I can’t use the exact same html. I was thinking of creating new html files in iweb and then uploading those to be served as content by Netsuite.

    The thing is, since iWeb creates whole websites (not just individual pages) there’s a lot of structure info which will probably break.

    As I’m sure you can tell I’m new to html publishing, I was hoping it’d be almost as simple as creating the new file and uploading it as a self-contained unit but I’m getting the feeling it’s a bit more complicated.

    I don’t know if I using a different program would help. My only previous experience was with a software called Freeway which put me pretty much in the same situation.

    I’ll appreciate any help.

    Carlos

    5 Benny 08.14.08 at 4:53 am

    Hi Stew,
    I can confirm that only the modified files are uploaded to my ftp site. As a test; create a dummy site, upload it using w2w. Make 2 simple modifications and upload each of them individually; note the time taken for the upload to complete. I noticed a significant reduction in upload times. I have to conclude that not all files are uploaded….

    6 Fredrik 08.17.08 at 12:36 pm

    @Stew

    I believe the difference is that you are looking at the local site-folder, not the uploaded files. What w2w will do is look in the site-folder for files that have had their content modified and only upload those, so if you look at the files at the actual web-server, you will see different modification dates.

    7 matt 08.28.08 at 3:23 am

    hey,

    having a lot of trouble uploading mu iWeb site to a non mac server. Have appeared to do all the right things, and can see my files on my host account, but keep getting error 404 or 403, or a very mangled version of my home page with no links. Is this something to do with using version 1.1.2? I have been using Cyberduck amongst others and the upload seems fine.

    any help welcome

    thanks

    matt

    8 jamie 09.08.08 at 1:35 pm

    hi what is a remote folder i dont understand how to publish my website

    9 Barc 11.10.08 at 10:49 am

    When I try to upload using W2W, I get the following error message:
    curl returned error number 67.

    Any thoughts?

    10 Elisa 01.07.09 at 7:55 am

    You made my day!!!!! Thank you so much!

    11 Mark Ostrom 01.14.09 at 10:01 pm

    Hi.. When I try to publish my iWeb site to another site, I get nothing. The html “index.html” file is blank, as is the “index.html” file inside the main website folder. Nothing I do makes my site appear, but when I publish it to .mac it looks fine. what’s up with that?

    12 Mark Ostrom 01.14.09 at 10:02 pm

    PS the FTP upload goes fine, no problems. It’s when it all arrives it opens a blank page.

    13 Aaron Dobbin 01.17.09 at 5:19 pm

    I had the same issue… so I opened the html file that was generated from iweb on my harddrive, copied and pasted the entire contents of the local file to the uploaded file (via the website control panel -> edit function… and now I am getting a “Parse error: syntax error, unexpected T_STRING in /home/*******/public_html/index.xhtml on line 1

    14 Ian 01.20.09 at 6:15 pm

    Has anyone figured out how to get past the problem described by Mark Ostrom and Aaron Dobbin? I have a client that is trying to upload their iWeb site to my server and is having the same issue… However upon downloading the files to my computer locally, the files will open and display correctly, but once they are uploaded onto the server, they do not work. Just blank white pages… Any help is appreciated!

    15 Aaron 01.20.09 at 10:03 pm

    … still not working. I had found a ‘php patch’ for the header portion of the (x)html code… as apparently this error is one that stems from php pages. I don’t know enough about coding to be able to answer why a page editor creates xthml, saved as a html file, that creates a php errors… hmmmm.

    The patch gets copied and pasted over the xhtml portion of code on each page header - actually it’s just a snippet of php.

    This works… but the cut-n-paste has to occur of every single page of the website… I got tired of this route really quick… especially since this step would be required every time any portion of any page gets updated in iweb.

    When I get home I can dig out the patch… and post it here if that’d help anyone.

    16 Ian 01.21.09 at 5:54 am

    Hello Aaron, thank you for the reply. That is a very strange problem that iWeb is causing. If you don’t mind to post up the patch, I would greatly appreciate it. It looks like it may be easier for my client to just host with a .mac account, which is what i’m assuming is how they programmed it. So someone creates a website in iWeb, and then gets frustrated trying to upload it somewhere else and then they have to migrate over to .mac… Just another way to make money I guess :) I wish there was a better fix, but if the patch is all that will work as of right now, I will send that to my client and tell him the procedure. Thanks for your time and help!

    17 Aaron 01.21.09 at 7:52 am

    Here is the patch (simply paste over the first few lines on html(ish) code of each page - up to the head tag… not over the tag, just everthing before it):

    …and you have to do this cut/paste on the html page after it’s been uploaded the the web (through your hosts control panel -> edit source function - AND if your pages upload to the server as blank documents… then you’ll need to copy paste the code from your locally saved pages (the entire page source) to the copies that are on the webhost… then apply the patch).

    (Please test this first before handing it over to your client… I’d hate to look bad, in making you look bad, if it doesn’t work for your project…)

    Seems like easy work, but when you get into the auto generated pages like archives of blogs and photo galleries, then you begin to see the pain perdue that you’ve got on your plate.

    It’s a shame that W2W (Easy iWeb Publisher) won’t work as advertised… maybe there are basic requirements that we need to look for in a hosting company - something that Easy iWeb Publisher requires that some (many) hosts don’t provide.

    18 Aaron 01.21.09 at 7:54 am

    ugh… anyone no how to post code here that will show up as text… and have it not become intergraded as pat of the formating of the post?

    19 laura 02.10.09 at 4:07 am

    ciao
    io ho un problema con iweb
    ho impostato tutti i link tra le pagine e mentre la prima volta che ho pubblicato il sito su una cartella i link tra le pagine erano attivi, ora quando visito il sito pubblicato sulla cartella non posso navigare tra le pagine….
    Non so quale possa essere il problema.. tu per caso ne hai idea???
    grazie per l’aiuto :)

    20 Mark Ostrom 02.10.09 at 4:16 am

    What crap. Apple just ignores this.

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>