dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: PDF embed on website

  1. #1
    Join Date
    Jun 2011
    Posts
    2

    PDF embed on website

    Hello all,

    first of all im new here so hello nice to be here.


    second i'm trying to embed a pdf file into a website but i'm very cautious about google finding content of the pdf file.

    I know that google has always had its ways to index pdf files but when i use the embed tags to embed the file in the page does it still be indext.

    also are there people that know a good way to embed it in the website or nice ways to present it in a a website.

    i hope someone can confirm that google always indexes pdf files.
    cause thats my main consern.

    ps. if i use javascript or flash programs to make a nice presentation is it still google friendly ?


    sorry for the english btw.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,157
    Yes, Google will index pdf files that you link to from your site, whether you link to it with an <a>nchor tag or point to it with a different tag like <embed>. But keep in mind that when you reference an external file with a tag like <embed>, the search engines will treat that document as being separate from the parent document where the referring tag resides, and it will not affect the rankings of the parent document.

    The search engines generally deal with JavaScript pretty well, but you should not count on any text generated by JavaScript being indexed. Google will often crawl URLs embedded in JavaScript, but they don't usually index those URLs unless they find other direct links.

    Google is the only search engine that indexes Flash. They can extract the text and any links in the .swf file, but as with <embed> etc., the .swf is not generally considered to be a part of the parent document. Google posted a good article on this. Search on "google best uses of flash" to find it. Good luck!

  3. #3
    Join Date
    Apr 2013
    Posts
    31
    Hi, Controvi.
    Have you ever worked it out? As for me, I have only tried to embed web-based PDF viewer into the browser. But I wonder whether there are any PDF Toolkits can help with it? You can google it and select one whose way of processing is simple and fast to help you with the related embeding work. It will be better if the
    PDF SDK you select is totally manual and can be customized by users according to our own favors. Remember to check its free trial package first if possible. I hope you success. Good luck.



    Best regards,
    Arron

  4. #4
    Join Date
    Jun 2013
    Posts
    37
    Yes, as described above, using a pdf web viewer is an easy way to embed pdf document into website. You can refer to a vertain pdf web viewer software or a pdf html viewer programming application, which allows to load and view pdf document in web broswers, like firefox, chrome, and ie.

  5. #5
    As much as the HTML 5-tards might tell you that EMBED is ok after 15 years of us being told NOT to use EMBED -- :/ -- the tag you are probably looking for is OBJECT. After all, APPLET and IFRAME were deprecated in favor of OBJECT, EMBED was rejected in HTML 4 in favor of OBJECT, and IMG was supposed to go away in favor of... OBJECT.

    Which of course is why the 5-tards re-introduced those redundancies with VIDEO and AUDIO... RIGHT.

    Do you have an OBJECT version around your EMBED?

  6. #6
    Join Date
    May 2014
    Location
    bangalore
    Posts
    39
    first save the pdf file or pdf folder and the index file with the same directory.
    In the indexe.html use <a>---</a>tag embed the pdf file.

    for example:
    <a href="pdf file">text</a>

    If you want add images for pdf link.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles