Monday, August 18, 2008

How to Embed PDF file in Yahoo's Sitebuilder

Embedding a PDF file into a Yahoo Sitebuilder page -

Here's a Yahoo Sitebuilder tip. I really just want to have it handy, because I know I'll forget how to do it the next time it comes up, and I won't be able to find the little piece of paper with the instructions.
I wanted to have one of the pages in a website open a PDF file (embed a PDF document). In this case, a newsletter created as a PDF. I looked everywhere in their Help section for the answer, and couldn't find a clue, so I called them up. That's one nice thing about Yahoo's web hosting - you can get a real person in the U.S. who knows answers. Here's how to do it:
  • Save your PDF file to your desktop - give it a simple name.
  • Open Yahoo Sitebuilder.
  • Drag the PDF file over to your Contents - this might take a few tries, but it'll get there.
  • Open a new, blank page with no template.
  • Click on Insert at the top of the screen.
  • Select Code Elements - then select Iframe
  • Choose - 'Another website'.
  • In the little box type the domain name of your site - http:// is already given to you, so start with www.
  • At the end of your website domain name give it a / then type the name of the PDF file exactly as it appears on your contents list.
  • Your page will now be a pale purple, and there will be a little box, like a text box with the domain name and the / and the pdf file name.
  • Save & publish. It should work. Good luck.
* Note: I think, but I'm not 100% sure that your PDF and HTML files have to be the same.
So, if your pdf file is abc.pdf, save your new, blank page, as abc.html. I'll have to try it out and see if it's necessary.
The page will look like this - to see if it worked, do a 'preview in browser'. If it did, your pdf file will appear.
Here's an update - SiteBuilder crashed, now using Site Solution (Yahoo), and it's so easy to pop a PDF file in! (May 26, 2011)

No comments: