I am a C/C++ programmer -prefer C, 30 yrs experience, recently retired.
I want to create a website to allow the user to scroll a pdf
and another panel to download my source files, (.c , .h , makefile). i
have no experience in the web presentation layer now. It seems most
developers want to simply solve the problem on the user (browser) end.
The link below is to a forum entry where this person wants to use php
but the browser does the work of presentation of the
pdf. Some browsers do this and some don't. Chrome is good. Firefox is
not ... and the second tier strategy is for the user to download the pdf
to the users machine and let him worry about presentation.
I need to learn php now. The better way, I think, is to re-code evince
as .php so that I could execute it on the server side and control the
presentation. If the web host would allow me to execute evince on his
web server, then that would be really good, but I don't think they would
allow that, Maybe the web host machine was running linux and had evince
around anyway maybe but I can't find such a shop. I know unix and C very
well on as professional level and at home now I am running Linux mint 13
with MATE desktop. (I like evince!)
If evince was open source, I could learn php and convert enough of it to
php to render the pdf document in a server side window.
There might be enough technical presenters like me to cobble up a system
with pdf window on the right, and ftp file down menu to the left, and
maybe as blog comment section at the bottom. Is php the proper tool?
(What about java script- or even java?) From my limited reading so far,
php seems like it would handle the presentation window best. Do you have
a favorite php book?
If this whole thing comes to fruition, it could be donated to gnome
because other technical writers good with latex and C and not so good with
exposing the thing to the web might be interested. The user comment
section at the bottom would provide an interconnected network of similar
presentations and relevant comment.
Any advice on this matter would be warmly appreciated.
//ellislab.com/forums/viewthread/230033/#1042404 <//ellislab.com>
\begin{scriptsize}
\begin{verbatim}
<object data="my-pdf-file.pdf" type="application/pdf" width="900"
height="800">
<!-- support older browsers -->
<embed src="my-pdf-file.pdf" type="application/pdf" width="900"
height="800"/>
<!-- For those without native support, no pdf plugin, or no js -->
<p>It appears you do not have PDF support in this web browser.
<a href="my-pdf-file.pdf" target="_blank">Click here to download
the document.</a>
</p>
</object>
_______________________________________________
evince-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/evince-list