What can i do with?

Discussion in 'Off-Topic' started by 55julie55, Jun 5, 2011.

  1. 55julie55
    Offline

    55julie55 iPad Ninja

    Joined:
    Feb 5, 2011
    Messages:
    1,625
    Thanks Received:
    23
    Trophy Points:
    38
    Location:
    Australia
    Ratings:
    +23 / 0
    Too many lemons.
  2. Tim SPRACKLEN
    Offline

    Tim SPRACKLEN iPad Legend

    Joined:
    Jan 3, 2011
    Messages:
    15,246
    Thanks Received:
    121
    Trophy Points:
    0
    Location:
    Scotland
    Ratings:
    +121 / 0
  3. 55julie55
    Offline

    55julie55 iPad Ninja

    Joined:
    Feb 5, 2011
    Messages:
    1,625
    Thanks Received:
    23
    Trophy Points:
    38
    Location:
    Australia
    Ratings:
    +23 / 0
    Now that's a winner!
    Brings back memories of childhood.
    It was the first thing I ever made
  4. 55julie55
    Offline

    55julie55 iPad Ninja

    Joined:
    Feb 5, 2011
    Messages:
    1,625
    Thanks Received:
    23
    Trophy Points:
    38
    Location:
    Australia
    Ratings:
    +23 / 0
    Tim is there a way to save the recipe page to a file?
  5. Tim SPRACKLEN
    Offline

    Tim SPRACKLEN iPad Legend

    Joined:
    Jan 3, 2011
    Messages:
    15,246
    Thanks Received:
    121
    Trophy Points:
    0
    Location:
    Scotland
    Ratings:
    +121 / 0
    To convert a web page to PDF in Safari you can use a 'bookmarklet' - a small piece of Javascript that will convert the web page to PDF.

    Just create a blank bookmark and enter the text below - in its entirety - in the place where the URL normally goes.

    javascript:pdf_url=location.href;location.href='http://pdfmyurl.com?url='+escape(pdf_url)

    (sometimes, when I paste this bookmarklet into iPad Forum a spurious space gets inserted in the 'http' part of the bookmarklet. It shouldn't be there so, if you see it, you'll have to edit it out.

    Now, when you want to convert a webpage to PDF, simply surf to the page you want to convert and select the above bookmarklet. Safari will convert the page to PDF and you'll then be able to save it in iBooks or another compatible app.

    Tim
    Scotland.
    Two mistakes in a row - it's not a good day
  6. lukepast
    Offline

    lukepast iPF Novice

    Joined:
    May 11, 2011
    Messages:
    29
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Bristol, England
    Ratings:
    +0 / 0
    Thanks for that:) I've just added a bookmark on the bar called PDF me that works just great - I tested it with this thread
  7. SweetPoison
    Offline

    SweetPoison iPad Legend

    Joined:
    Jun 20, 2010
    Messages:
    14,940
    Thanks Received:
    132
    Trophy Points:
    0
    Location:
    Sacramento, California
    Ratings:
    +134 / 0
    You are slippin, babe.:D Are you a sickie?
    Last edited: Jun 5, 2011
  8. lukepast
    Offline

    lukepast iPF Novice

    Joined:
    May 11, 2011
    Messages:
    29
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Bristol, England
    Ratings:
    +0 / 0
    Slice them and freeze them for putting in drinks :) helps chill the drink as well :D
  9. Tim SPRACKLEN
    Offline

    Tim SPRACKLEN iPad Legend

    Joined:
    Jan 3, 2011
    Messages:
    15,246
    Thanks Received:
    121
    Trophy Points:
    0
    Location:
    Scotland
    Ratings:
    +121 / 0
    Too many late nights and early mornings and, I guess, the red wine last night didn't help..:(

    Tim
  10. 55julie55
    Offline

    55julie55 iPad Ninja

    Joined:
    Feb 5, 2011
    Messages:
    1,625
    Thanks Received:
    23
    Trophy Points:
    38
    Location:
    Australia
    Ratings:
    +23 / 0
    Tim,
    Did all that.
    Now have the info java script etc in the book mark bar along with the lmp recipe?
    When I go back into safari and hit the book mark bar it just with the javascript etc reloads the web page and doesn't appear to option a save or where to save?......?...
    Sorry ,what am I doing wrong
  11. Tim SPRACKLEN
    Offline

    Tim SPRACKLEN iPad Legend

    Joined:
    Jan 3, 2011
    Messages:
    15,246
    Thanks Received:
    121
    Trophy Points:
    0
    Location:
    Scotland
    Ratings:
    +121 / 0
    OK - the Javascript has converted the web page to PDF, so it's like having downloaded a PDF document from the web. If you briefly touch the resulting webpage/PDF you'll see a menu bar at the top briefly appear with the option to 'Open in' and then some options, depending on what you've got on your iPad - usually at least iBooks.

    The Javascript works fine with these recipe pages - I've tried it - but it's not totally foolproof because it has to reload the page to do the conversion.

    So, if it's a page into which you've entered some text in text boxes, that text might not appear in the PDF. Effectively, the PDF you get is what the webpage would look like if you refreshed the page.

    So, to recap, you're not doing anything wrong. It looks as though the Javascript is working fine because it's converted the recipe to an identical looking PDF. So, just touch the page and see if you can spot the menu bar open up at the top of the page with those options.

    If there's any remaining problem, just get back to me (I'm out for the next hour though)

    Tim
  12. 55julie55
    Offline

    55julie55 iPad Ninja

    Joined:
    Feb 5, 2011
    Messages:
    1,625
    Thanks Received:
    23
    Trophy Points:
    38
    Location:
    Australia
    Ratings:
    +23 / 0
    I've really trying and cannot get
    it to work.
    The only options I can find on a drop down box are open or open in new page ,then it reloads the same page.
    Have started from the beginning and still not sure if the JavaScript thing is in the right place
    It has a folder at the front not an open book
    Is this right
    I'm tearing my hair out right now
    Sorry I'm just not getting it
    Perhaps a few more step by step for the stressed lady.
    I really want to understand and do this.
    Thanks for any help you can give.
  13. Tim SPRACKLEN
    Offline

    Tim SPRACKLEN iPad Legend

    Joined:
    Jan 3, 2011
    Messages:
    15,246
    Thanks Received:
    121
    Trophy Points:
    0
    Location:
    Scotland
    Ratings:
    +121 / 0
    OK - I'm back now. Before we get into difficult stuff, just check that you've got Javascript turned on...

    'Settings', 'Safari', 'Javascript'->'On'

    Tim
  14. Hayles66
    Offline

    Hayles66 iPad Expert

    Joined:
    Feb 12, 2011
    Messages:
    8,876
    Thanks Received:
    311
    Trophy Points:
    83
    Location:
    Somerset-UK
    Ratings:
    +325 / 0
    I copied it from safari and put it into Pages using their default recipe page setup. The photo, I saved to my photos and used it from there. I like to have uniformity rather than a whole folder of various sizes of recipes. Call me a control freak!

    sent with love from my iPad on IPF
  15. Tim SPRACKLEN
    Offline

    Tim SPRACKLEN iPad Legend

    Joined:
    Jan 3, 2011
    Messages:
    15,246
    Thanks Received:
    121
    Trophy Points:
    0
    Location:
    Scotland
    Ratings:
    +121 / 0

    OK - once you've checked if you've got Javascript on...

    Copy the Javascript from post above.

    Touch the Safari curly arrow menu item, touch 'Add Bookmark', Edit the title of the bookmark to something appropriate, say "PDF Save", then edit the URL of the bookmark by pasting the Javascript into it. Get rid of the extra space in the 'http' part of the bookmarklet. Hit 'Save' and you're done.

    Tim
  16. 55julie55
    Offline

    55julie55 iPad Ninja

    Joined:
    Feb 5, 2011
    Messages:
    1,625
    Thanks Received:
    23
    Trophy Points:
    38
    Location:
    Australia
    Ratings:
    +23 / 0
    Tim ,
    Didn't sleep a wink.
    Just cannot do it.
    Yes java script is on.
    Yes I have the JavaScript in the book mark.
    Didn't copy,I typed it in manually.

    Do not know how to copy. Gone into iPad Manuel still cannot get it.
    When I highlight is it asks copy?
    Then what I say yes. Where does it go?...
    Tried to open the web page and nothing happens copy is gone.
    Just haven't got the knowledge.
    So if I go into my bookmark with the hand typed JavaScript followed by the lmp recipe do I open it?
    When I open it it still will not drop down an option to save as/copy to etc have been tapping and trying to find a drop down
    Just keeps opening new recipe pages,open or open new page is all I can find
    I know it's me and I feel really upset.
    Please keep helping if you can
  17. tmno2
    Offline

    tmno2 iPF Novice

    Joined:
    Apr 8, 2011
    Messages:
    52
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Sydney
    Ratings:
    +0 / 0
    Reference previous:
    I think there is one more step in Safari Bookmarklets that has been overlooked.
    I seem to recall that when the "http:\\" address came up in the browser ID, you had to then delete everything from JavaScript backwards and then save the page as bookmark or something.
    I used this a lot on my iPhone, which usage seems to have diminished greatly since the iPad arrived.
    If this doesn't iijog some other memories, then I will check back after researching my iPhone stuff.
    Or if you "Google 'Safari Bookmarklets' " for iPhone or iPad you will come up with the necessary stuff yourself.
    Hope this helps
    Last edited: Jun 5, 2011
  18. tmno2
    Offline

    tmno2 iPF Novice

    Joined:
    Apr 8, 2011
    Messages:
    52
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Sydney
    Ratings:
    +0 / 0
  19. Tim SPRACKLEN
    Offline

    Tim SPRACKLEN iPad Legend

    Joined:
    Jan 3, 2011
    Messages:
    15,246
    Thanks Received:
    121
    Trophy Points:
    0
    Location:
    Scotland
    Ratings:
    +121 / 0
    OK - when you copy it goes to the so-called 'clip board' - it's a temporary area of memory in the iPad. When you try to create the new bookmark, if you want to 'paste' the copied text into the bookmark, then you need to touch and hold the area where you want the text to be placed and a pop up box will appear with 'paste' and you touch that and the Javascript will be pasted there.

    You say above that you hand typed in the Javascript followed by the recipe. That's the mistake. The bookmark *only* contains the Javascript. There's nothing about the recipe address in the bookmark. That Javascript will convert any webpage that you happen to be visiting into PDF, not just the recipe page.

    So, to recap, the bookmark should contain just the Javascript (remember to remove that space in the http part of the script - i.e. it shouldn't be 'ht tp' but 'http'.

    Don't fret, it may take us a while (particularly because you're asleep when I'm awake and vice versa) but we'll do it...there's no hurry - well, I suppose you don't want those lemons to go off...

    Tim
  20. tmno2
    Offline

    tmno2 iPF Novice

    Joined:
    Apr 8, 2011
    Messages:
    52
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Sydney
    Ratings:
    +0 / 0
    My apologies troops !!
    I defer to the master "TIM"
    My iPhone Safari Bookmarklet apps were for putting emergency phone numbers on the iPhone homepage.
    Clearly a completely different required result..
    Sorry for the intrusion.

Share This Page

Search tags for this page

ipad 1 what can i do with this now its out of date