Я говорю по-русски



WordpressPDF: easy pdf embedding

WordpressPDF | download | ru | en
scribd-like Wordpress plugin. It displays your pdf files using zviewer interface (scroll, zoom, fullscreen etc.).

Demo:

In order to view this page you need Flash Player 9+ support!


Get Adobe Flash player

How it works
rusterra.com uses swftools to convert .pdf to .swf. If you know any other methods, please, leave a comment.
1. Download and install swftools
2. Prepare your pdf file, throw out some pages, if you need.
3. I use this commands (windows)
pdf2swf %1", where %1 – name of pdf filename, or
"pdf2swf -p %2-%3 -G %1", where %1 – name of pdf filename, and %2-%3 – a range of pages to convert (i.e. pdf2swf -p 1-20 -G book.pdf)
4. Upload new swf to your site.
5. Use wp-pdf-view tag in your post:
[wp-pdf-view swf="/path/to/filename.swf" width="500" height="400" /]

Misc. notes
1. WordpressPDF is based on «hana flv player» (i liked an idea to upgrade plugin that we use for video, so it could support other flash media, and i was too lazy to rewrite plugin admin panel from scratch, and in standard version i just threw out all non-pdf related features) and zviewer.
download test version
test version tag:
[hana-flv-player video="/path/to/filename.swf" player="9" width="500" height="400"/]
Also, test version has an option for automatic display of splash images if flv_player_maxi is used (flv: viedo.flv, splash: video.flv.jpg – $flv_attr['splashimage'] = $flv_attr['video'].".jpg";)
I hope author of hana_flv will like this ideas and include zviewer support in hana_flv_player.
3. I redrew zviewer buttons (sources included in wordpresspdf), and i hope that Cristian Rusu aka Crirus (author of zviewer) likes them, so i don’t have to replace buttons again with new zviewer update :)
4. Donations: If you want support development of WordpressPDF, donate zviewer or hana flv player

Комментарии (30)

Комментарии: 30 to “WordpressPDF: easy pdf embedding”

  • 1 dan // Сен 22, 2009 at 5:31 пп

    *****
    Thanks!

  • 2 Kevin // Сен 24, 2009 at 5:57 пп

    When I have your plugin activated, I cannot upload and images/media from a post or page? The plugin works other than that. If I disable the plug-in, the image/media uploads work fine….

  • 3 admin // Сен 24, 2009 at 6:48 пп

    Seems pretty strange, Kevin.
    Btw, i expirienced related bug: i can’t add media to new, not saved, post (even with disabled wordpresspdf). When changing post, media works ok.
    Actually mediafiles uploads are ok, but they don’t show up in library.
    I’ll look at it closer, but i don’t think that wppdf is an issue
    p.s.
    here is my solution, seems working: http://wordpress.org/support/topic/308057?replies=12#post-1223309

  • 4 Kevin // Сен 28, 2009 at 7:41 пп

    any updates on this? I still have the issue. With plug-in activated, cannot upload/change images or media gallery from post or page. If I disable the plug-in, everything works fine.

  • 5 admin // Сен 28, 2009 at 8:52 пп

    Kevin, i’m trying to figure out what’s going on :)
    please tell me these details:
    -Wordpress version
    -Browser version
    -Did you upgrade wordpresspdf to 0.2?

    i found my mistake, 0.3 is on the way

  • 6 Kan // Окт 5, 2009 at 12:30 пп

    It is a useful and user friendly plugin. thanks
    I do have a problem. Since my pdf file has several pages, but there is two icons for next pages. The upper one cannot work. The lower on locate just over the page top. The up down scroll bar fit the page and therefore hide the lower next icon. See
    http://www.ies22.net/?p=1721

  • 7 admin // Окт 5, 2009 at 1:36 пп

    Kan, can you send me screenshot of this error? strangeqargo (/at/) gmail.com :)

  • 8 Kan // Окт 19, 2009 at 4:23 дп

    i have fixed it. Thanks

  • 9 Joe // Окт 27, 2009 at 1:58 дп

    Quick question…

    How would you have it default to ‘zoom best fit’?

  • 10 admin // Окт 28, 2009 at 5:27 пп

    Good idea, Joe, i think it goes right into the next update

  • 11 Craig Wann // Ноя 13, 2009 at 2:38 дп

    Thanks for your hard work on this! The plugin is really great!

    But… The search box is not working for me.

    Is just shows the number of term instances in the page next to the box. The X does nothing. Do you know how to fix it, or just remove it?

  • 12 admin // Ноя 13, 2009 at 9:47 пп

    Thanks, almost fixed it.

  • 13 Raymond // Ноя 27, 2009 at 10:35 дп

    Wow, this plugins is amazing. THANKS

  • 14 Padma // Дек 5, 2009 at 5:43 пп

    In post it is working fine but while listing the post in archive the swf code display itself

  • 15 Nasarudin // Дек 12, 2009 at 2:14 пп

    Got same issue as Kan.
    swf created using the suggested tool. View the swf fine with the flash player.

    he issue, plugin doesn’t display the swf content. Pages shown just 1/1 even though the swf got many pages. Got small icon top left that looks like the content, nothing happen when click.

    Wonder how Kan solved his/her issue.

  • 16 cubus // Дек 18, 2009 at 7:59 пп

    Nice plugin.

    One question though, I saw the SWFObject displays that this viewer needs flash v. 9.0.45 to work properly. Is this the absolute minimum, or a standard you used?

  • 17 admin // Дек 19, 2009 at 1:46 дп

    Cubus, i guess it should work well enough with earlier or later versions of flash plugin. I’ll try to check’n'fix this issue later, in a couple of days

  • 18 cubus // Дек 23, 2009 at 3:02 пп

    Ah, seems like the flash version wasn’t the problem. Turned out it doesn’t work in IE6?

    You only get the no flash replacement text. (Although flash version is 10) I happens both on this and my project’s website.

    Strange.

  • 19 cubus // Дек 23, 2009 at 3:24 пп

    Ok, I fixed the IE6 issue by removing the «,» in wp-pdf-view.php at the end of line number 127

    So,

    doc_url: ‘».$flv_attr['swf'].»‘

    in stead of

    doc_url: ‘».$flv_attr['swf'].»‘,

    Works fine in IE6 (and other browsers now)

  • 20 admin // Дек 23, 2009 at 3:34 пп

    thank you very much, cubus )

  • 21 Florian Coman // Фев 4, 2010 at 1:31 пп

    Hi, nice and useful plugin.

    How to disable print and copy buttons from the zviewer?
    compiling the zviewer without these functions, or could be some options/params in a future release..

    thanks

  • 22 admin // Фев 5, 2010 at 10:32 пп

    it’s not an absolute defense, but anyway, i’ll add this feature in the next update

  • 23 Construyendo nuestros visualizadores de texto. Parte I | Lengua y Tecnología Educativa // Апр 4, 2010 at 11:47 пп

    [...] ello, ahora este visualizador cuenta con dos sitios web de soporte http://swfviewer.blogspot.com/ y http://rusterra.com/wordpresspdf/. El código fuente actualizado de este visualizador viene acompañado con la descarga de este [...]

  • 24 akubm // Апр 17, 2010 at 1:05 дп

    Having an issue with excerpts when the plugin is activated… The «post excerpts» that I have manually entered in admin no longer show up… I am using the Hybrid theme.
    Otherwise, I’d love to use this.

  • 25 admin // Апр 17, 2010 at 1:19 дп

    akubm, could you please provide me an url to some of broken posts?

    i have some ideas about this issue and will try to fix this as soon as possible

  • 26 krull // Апр 28, 2010 at 2:13 пп

    any way to disable print?

  • 27 Xerxes // Июн 25, 2010 at 2:51 пп

    I followed all the steps – I have a multi-page custom size pdf document – converted it to swf and uploaded to my site – I only see one page and its – tiny – v small – any idea what i’m doing wrong

  • 28 lokocool // Июл 8, 2010 at 1:09 пп

    Is it any chance to translate in easy way the player ( I mean the words full screen, next etc? I’ll be very greatefull if you tell me how to do it. I know that there is a source of player, but unfortonetlly I’m not expert in flash.

    Plugin is Great but this is the only one thing I would like to change.

    regards !

  • 29 lokocool // Июл 8, 2010 at 1:36 пп

    OK I soleved it by myself.
    Everythig is into zevents.as file
    It need to be edited under text editor, and after that we open zviewer.fla and publish again without any changes. After that we replace zviewer.swf and that’s all

  • 30 Peter Roszell // Авг 27, 2010 at 1:56 дп

    I would like for the default view to be «Zoom Show All». So the entire page can be seen when page loads. Is there a setting for this?

Leave a Comment