blonde poker forum

Community Forums => The Lounge => Topic started by: millidonk on February 15, 2012, 12:06:35 PM



Title: Calling all HTML gurus.
Post by: millidonk on February 15, 2012, 12:06:35 PM
Been asked to create an email in HTML which looks like the attatched, which is just a screenshot of a page in a pdf. I thought it would be better to just embed the whole pdf instead of creating numerous pages.

Trying to use <embed><object type="application/pdf" data="YourFile.pdf" " width="90%" height="90%" < >/object ></embed> it previews and scrolls through the pdf fine, but when i save i get a blank page.

Anyone got any ideas or have any shortcuts on ripping .pdfs

Apologies if any non geeks click on the thread.



Title: Re: Calling all HTML gurus.
Post by: millidonk on February 15, 2012, 12:09:32 PM
I also proposed just putting a link to the pdf in an email but that is apparently a no go.


Title: Re: Calling all HTML gurus.
Post by: EvilPie on February 15, 2012, 12:11:30 PM
I don't even know why I opened this thread.

I have absolutely no idea about this and the title says exactly who you're after.

Sorry :(


Title: Re: Calling all HTML gurus.
Post by: Jon MW on February 15, 2012, 12:18:58 PM
It would be handy if the person who created the pdf is the person who is sending it to you, then they could re save the data in a different format.

The only times we've had clients who have asked us to send a pdf (usually things like entry forms or application forms) they've seen sense and just changed it to the email with a link to the pdf option.


Title: Re: Calling all HTML gurus.
Post by: millidonk on February 15, 2012, 12:21:39 PM
It would be handy if the person who created the pdf is the person who is sending it to you, then they could re save the data in a different format.

The only times we've had clients who have asked us to send a pdf (usually things like entry forms or application forms) they've seen sense and just changed it to the email with a link to the pdf option.

mbsfn to have clients with common sense


Title: Re: Calling all HTML gurus.
Post by: Jon MW on February 15, 2012, 12:23:16 PM
It would be handy if the person who created the pdf is the person who is sending it to you, then they could re save the data in a different format.

The only times we've had clients who have asked us to send a pdf (usually things like entry forms or application forms) they've seen sense and just changed it to the email with a link to the pdf option.

mbsfn to have clients with common sense

nah, just use Jedi mind tricks to get them to agree with what we want.   :D


Title: Re: Calling all HTML gurus.
Post by: kinboshi on February 15, 2012, 12:25:57 PM
Not sure I understand, but the simplest solution to me is to create an HTML email, with a link to a web page on your website, and on that page put a link to the pdf that you've uploaded to the server.


Title: Re: Calling all HTML gurus.
Post by: Nakor on February 15, 2012, 12:30:18 PM
We use

http://pdfobject.com/

or

Adobe Flashpaper

As a long shot . . .

If you use Image instead of application does this change your view post save?  Will it display at all?


Title: Re: Calling all HTML gurus.
Post by: millidonk on February 15, 2012, 12:31:01 PM
Not sure I understand, but the simplest solution to me is to create an HTML email, with a link to a web page on your website, and on that page put a link to the pdf that you've uploaded to the server.

this is also simplest for me. But they don't want the person receiving the email to have to click anything at all. Just receive the email and read..

I read about this mix of HTML and JS. [  ] Works

<html>
  <head>
    <title>PDFObject example</title>
    <script type="text/javascript" src="pdfobject.js"></script>
    <script type="text/javascript">
      window.onload = function (){
        var success = new PDFObject({ url: "sample.pdf" }).embed();
      };
    </script>  </head>
  <body>
    <p>It appears you don't have Adobe Reader or PDF support in this web
    browser. <a href="sample.pdf">Click here to download the PDF[/url]</p>
  </body>
</html>



Title: Re: Calling all HTML gurus.
Post by: millidonk on February 15, 2012, 12:32:02 PM
We use

http://pdfobject.com/

or

Adobe Flashpaper

As a long shot . . .

If you use Image instead of application does this change your view post save?  Will it display at all?

Yea, just tried that site. Doesn't seem to have support on our browsers. Will try using image now instead.


Title: Re: Calling all HTML gurus.
Post by: Paullie_D on February 15, 2012, 12:40:43 PM
Frankly the only way I see is to get the document in an open format (MS Word would probably be best) and send it as a mail merged html document.

From the screenshot I think it is very unlikely that this was created in Adobe Acrobat....it must have been created in something else and then save as a PDF file.


Title: Re: Calling all HTML gurus.
Post by: millidonk on February 15, 2012, 12:43:13 PM
We use

http://pdfobject.com/


Like this site! Completely missed the code generator tab on first view. From the looks of it, it should work but our mailing system doesn't seem to be compatible outside of preview. Will send it as an RFC and see if support can sort it. Cheers for the help everyone.


Title: Re: Calling all HTML gurus.
Post by: Jon MW on February 15, 2012, 12:50:45 PM
We use

http://pdfobject.com/


Like this site! Completely missed the code generator tab on first view. From the looks of it, it should work but our mailing system doesn't seem to be compatible outside of preview. Will send it as an RFC and see if support can sort it. Cheers for the help everyone.

Don't most email clients disable javascript? So any solution involving javascript will only work in a browser - not in an email?


Title: Re: Calling all HTML gurus.
Post by: millidonk on February 15, 2012, 12:54:54 PM
We use

http://pdfobject.com/


Like this site! Completely missed the code generator tab on first view. From the looks of it, it should work but our mailing system doesn't seem to be compatible outside of preview. Will send it as an RFC and see if support can sort it. Cheers for the help everyone.

Don't most email clients disable javascript? So any solution involving javascript will only work in a browser - not in an email?

When you generate the code it gives you choice with or without javascript. Neither worked for me anyways. I imagine most email clinets will disable javascript for saftey resons.


Title: Re: Calling all HTML gurus.
Post by: Jon MW on February 15, 2012, 12:59:44 PM
We have had clients who have just sent one big image to send as an email - which is a similar problem.

I'm afraid my best solution to that was just to create the html from scratch so that it recreated what they'd specified.


Title: Re: Calling all HTML gurus.
Post by: millidonk on February 15, 2012, 01:01:36 PM
We have had clients who have just sent one big image to send as an email - which is a similar problem.

I'm afraid my best solution to that was just to create the html from scratch so that it recreated what they'd specified.


Exactly what i'm doing now. FML. Thanks again for the help.


Title: Re: Calling all HTML gurus.
Post by: Paullie_D on February 15, 2012, 03:51:47 PM
We have had clients who have just sent one big image to send as an email - which is a similar problem.

I'm afraid my best solution to that was just to create the html from scratch so that it recreated what they'd specified.


Exactly what i'm doing now. FML. Thanks again for the help.

That's an awful lot on inline styling....MS WORD FTW.


Title: Re: Calling all HTML gurus.
Post by: Jon MW on February 15, 2012, 05:51:26 PM
We have had clients who have just sent one big image to send as an email - which is a similar problem.

I'm afraid my best solution to that was just to create the html from scratch so that it recreated what they'd specified.


Exactly what i'm doing now. FML. Thanks again for the help.

That's an awful lot on inline styling....MS WORD FTW.

Never ever ever use MS Word for creating HTML it creates absolutely the worst coding in the World, ever, in history.


Title: Re: Calling all HTML gurus.
Post by: Paullie_D on February 15, 2012, 06:05:53 PM
We have had clients who have just sent one big image to send as an email - which is a similar problem.

I'm afraid my best solution to that was just to create the html from scratch so that it recreated what they'd specified.


Exactly what i'm doing now. FML. Thanks again for the help.

That's an awful lot on inline styling....MS WORD FTW.

Never ever ever use MS Word for creating HTML it creates absolutely the worst coding in the World, ever, in history.

Only if you're translating directly to a webpage...for HTML emails it's fine.

I send thousands of newsletter and other mail merge emails a year all done in WORD.


Title: Re: Calling all HTML gurus.
Post by: Jon MW on February 15, 2012, 06:07:54 PM
We have had clients who have just sent one big image to send as an email - which is a similar problem.

I'm afraid my best solution to that was just to create the html from scratch so that it recreated what they'd specified.


Exactly what i'm doing now. FML. Thanks again for the help.

That's an awful lot on inline styling....MS WORD FTW.

Never ever ever use MS Word for creating HTML it creates absolutely the worst coding in the World, ever, in history.

Only if you're translating directly to a webpage...for HTML emails it's fine.

I send thousands of newsletter and other mail merge emails a year all done in WORD.


I send millions of newsletters a year

And anything supplied by clients in Word has to be re-done so that the code isn't awful. Word works, it provides a solution - but it isn't good.


Title: Re: Calling all HTML gurus.
Post by: Bongo on February 15, 2012, 07:14:53 PM
I agree with MW, FML

That and it would be far quicker to hand code than mess about in word.