Results 1 to 13 of 13
  1. #1
    5 Star Lounger
    Join Date
    Jul 2003
    Location
    USA
    Posts
    728
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Copy/Paste Web pages (WORD97/SR-2)

    Morning -

    We have been

  2. #2
    Gold Lounger Rebel's Avatar
    Join Date
    Jul 2001
    Location
    Canada
    Posts
    3,024
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Can't remember back to Word 97, but is there a "paste special" option on the edit menu? If there is (and you can paste as html), then go to the web page, Edit>Select All>. Edit>Copy. Then switch to Word, Edit>Paste Special>HTML format. This should bring everything across from the web page. Then, you can edit out any extraneous html info that you don't require.
    John
    A Child's Mind, Once Stretched by Imagination...
    Never Regains Its Original Dimensions

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    If I recall correctly, Word 97 was the first version in which you could paste a URL into the File>Open dialog and "open" the page. It may help to use the drop-down on the Open button and choose Read-Only to bypass any permissions problems. Does that work, or am I confusing Word 97 with Word 2000?

  4. #4
    5 Star Lounger
    Join Date
    Jul 2003
    Location
    USA
    Posts
    728
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Thank you both so much for your suggestions.

    Took me a while to acknowledge the posts because I was trying the suggestions on two different PCs running Word97. The results I got were the same on both PCs.

    With Paste Special, my choices were only Unformatted and RTF. When I tried them, I got message that Windows Registry reported that one or more required files are damaged or missing. To correct this, run the Word Setup program.

    And a second later the message: Word can

  5. #5
    3 Star Lounger
    Join Date
    Apr 2004
    Location
    Boston, Massachusetts, USA
    Posts
    389
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Have you tried to save the page as html from your web browser, and then open it from Word? In Internet Explorer, do a File -> Save As, and choose Complete Web Page as the type, then save it to your computer.

    Opening it up in Word should preserve all the text and graphics.

    HTH

  6. #6
    5 Star Lounger
    Join Date
    Jul 2003
    Location
    USA
    Posts
    728
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Andrew -

    Yes, that was the first thing we did. But, again, because of the layout of the web pages, we couldn't select the text associated with a picture. It does let us work with the pages w/o being on the web, of course, which is a 'good thing.'

    Thanks.

    We don't want to have to go to the client to ask for a hard copy of the many pages involved on the site, but that may be the only solution. We wanted to appear more 'sophisticated' - as tho we knew how to do this ....

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    If this is a good-sized contract, maybe it would justify buying a copy of Office 2003? <img src=/S/smile.gif border=0 alt=smile width=15 height=15> Once you import the page, you can unlink the INCLUDEPICTURE fields so that they become embedded, and the file should work just fine in Word 97.

  8. #8
    3 Star Lounger
    Join Date
    Apr 2004
    Location
    Boston, Massachusetts, USA
    Posts
    389
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Do I understand correctly from your originaly post that this web site uses graphics, in PDF form, for some of their headings and subheadings, and you would like to extract the text from these PDF graphics?

  9. #9
    5 Star Lounger
    Join Date
    Jul 2003
    Location
    USA
    Posts
    728
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Andrew -

    Yes, that's it exactly. I admire the way you succinctly extract the question from our posts!

    Hope you're not going to suggest buying Adobe? (grin) But, even if we did, the creator can 'lock' selecting/editing, no?

    ACM

  10. #10
    3 Star Lounger
    Join Date
    Apr 2004
    Location
    Boston, Massachusetts, USA
    Posts
    389
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Edited to fix broken url link syntax - Mod

    Well, they could "lock" the content, but they probably didn't. Since you don't have Acrobat, I'm going to suggest two possible solutions. By no means do I think these are the best/only ways of attacking this problem. These are just the approaches I'd use, with the toolset I'm comfortable with.

    I'm sorry to say neither of these suggestions are very simple, but I hope they can maybe get you going.

    (1.). With Acrobat Reader, open the PDFs and print to file. The resulting PostScript files aren't pretty to look at, but you may be able to extract the text from there (kind of like pulling the text out of an RTF file).

    (2). There's a very nice Perl module available for hacking on PDF files. It's available at http://search.cpan.org/~areibens/PDF-API2-...lib/PDF/API2.pm. It is, of course, free, like Perl itself. Even if you haven't worked with Perl before, if you have some programming experience, you may be able to adapt one of the sample scripts to extract the information you're looking for. If you'd like to learn more, check out http://www.oreilly.com/catalog/perlgp/. I'm pretty sure you can get a free trial subscription from Safari http://safari.oreilly.com that would let you take a look at the book.

    I'm sorry I don't have an easier answer for you, but if you're like me, you may prefer playing with new toys to manual copy and paste jobs.

    If you're comfortable doing so, you can send me a link to your client's web site privately, and I can maybe take a stab using one of these two approaches.

    Good luck!

  11. #11
    3 Star Lounger
    Join Date
    Apr 2004
    Location
    Boston, Massachusetts, USA
    Posts
    389
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    NOTE: acerfmayer contacted me privately. Here's my reply for the benefit of the board. Anyone out there with more HTML parsing experience than I may be able to further assist.

    Hello,

    I kind of suspected they weren't really PDFs, but that's good news. Your client, like many websites, takes steps to ensure their site can be viewed by users with disabilities, who may be using special software, such as a text reader, that can't really do much with images. So many of the images provide text to display in lieu of the image. For example, check out the following:
    <pre></pre>


    Note the contents of the "alt" attribute.

    To view this text instead of the images in Explorer, do the following:

    Go to Tools -> Internet Options -> Advanced. Check the box marked "Always expand ALT text for images", and uncheck the box marked "Show Pictures".

    Refresh the page, and you should see the text instead of the images. That may be enough for you to work with (copying and pasting into Word). If not, a fairly simple script in most any language (VB, Perl, Python, etc.) could extract this information from the source HTML.

    Someone else on the board who spends more time parsing HTML might have an even easier solution.

  12. #12
    5 Star Lounger
    Join Date
    Jul 2003
    Location
    USA
    Posts
    728
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Andrew -

    Alack & alas, these suggestions did not work, and I expect it

  13. #13
    3 Star Lounger
    Join Date
    Apr 2004
    Location
    Boston, Massachusetts, USA
    Posts
    389
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Copy/Paste Web pages (WORD97/SR-2)

    Upgrading to IE 6 is free, as is downloading Netscape, Mozilla, or most any browser, which will appropriately display the alternate text if properly configured.

    At any rate, the alternate text is right there in the HTML (which you can verify from View-> Source); you'll just need to decide the most appropriate means of extracting it for your purposes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •