Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] .PDF files in a MV page



******    message to minivend-users from Mike Heins <mike@minivend.com>     ******

Quoting Mr. Christopher F. Miller (cfm@maine.com):
> 
> 
> Ah that is a can of worms, made worse since the byte-range code
> in Acrobat readers has known errors.  (See Adobe web site
> on that.)  They are definitely worse with Exploder browser.
> 
> Specifically, however, I can't tell from your question what
> you are asking.  Do you mean a link to a PDF or a PDF actually
> **embedded** in the page?  Do you mean it works with browsers
> except on Windows or do you mean it doesn't work with Exploder
> or that you haven't tried it with other browsers?
> 
> There are very definitely browser/server issues is byte-range
> and PDF.  I can't think of any minivend issues at all.
> 

There might be a problem with this code:

[tag op=header]
Content-Type: application/pdf
[/tag][file content/something.pdf]

I am guessing that there will be one byte appended
when creating the file with an editor (appended newline).
There are ways to strip the appending newline:

	perl -0777 -pi 'chomp' pages/deliver_pdf.html

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Research is what I'm doing when     131 Willow Lane, Floor 2  | ||  _ \
I don't know what I'm doing.        Oxford, OH  45056         | || |_) |
-- Wernher Von Braun                <mikeh@minivend.com>     |___|  _ <
                                    513.523.7621 FAX 7501        |_| \_\
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: