Re: TR:  Inserer un pdf dans un article

Eric LM <[email protected]> Wed, 21 Apr 2021 09:44:02 +0200
Newsgroups gmane.comp.web.spip.user
Message-ID <[email protected]>
Bonjour à tous, il m'est arrivé d'utiliser une iframe, avec le PDF 
chargé en document de l'article :

     <iframe 
src="http://www.domaine.tld/IMG/pdf/choeur-cite_1.pdf#toolbar=0" 
width="90%" height="700">
     </iframe>

Sinon, effectivement, Calaméo.

Bonne journée,

Éric LM

Le 21/04/2021 à 08:57, Josiane ALETTO a écrit :
>
>
> j'utilise pdfjs en spip 3.3
>
> https://contrib.spip.net/Lecteur-pdf-javascript-pdf-js
>
> .
>
>     > Message du 21/04/21 06:02
>     > De : "Guilain DENISSELLE" <[email protected]>
>     > A : "[email protected]" <[email protected]>
>     > Copie à :
>     > Objet : [Spip] TR:  Inserer un pdf dans un article
>     >
>     >
>
>     J’utilise le modèle avec le plugin
>     https://contrib.spip.net/Lecteur-pdf-java-script-pdf-js sur SPIP
>     3.2
>     <https://contrib.spip.net/Lecteur-pdf-java-script-pdf-js%20sur%20SPIP%203.2>
>     et ça fonctionne bien 😊
>
>     *De :* webmaster <[email protected]
>     <mailto:[email protected]>>
>     > *Envoyé :* mardi 20 avril 2021 20:24
>     > *À :* [email protected] <mailto:[email protected]>
>     > *Objet :* Re: [Spip] Inserer un pdf dans un article
>
>     > Je ne me complique pas la vie en spip 3.2.7. Je télécharge le
>     fichier que j'introduis ensuite   dans l'article comme une photo
>     <doc.....|left ou right ou center> . quand on clique dessus,
>     firefox et safari affichent le PDF dans un nouvel onglet. Je n'ai
>     pas trouvé mieux; sinon je joue avec calaméo :
>     https://fr.calameo.com/account/book
>     <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffr.calameo.com%2Faccount%2Fbook&data=04%7C01%7C%7C339e6fdfc50f48bc161208d90429910b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637545398843517864%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NsdtjPGO3OAYW10D4fmnaIyaZGBKg9ShxL47RhYwexs%3D&reserved=0>.
>     C'est gratuit et ça a un peu d'allure.
>
>     > J'ai essayé un plugin qui remplaçait "Calaméo" c'était
>     FreePaper, (au moins on gardait la maîtrise des sources,) mais il
>     n'a pas été maintenu dans la communauté spip. Et je ne suis jamais
>     parvenu à le configurer jusqu'au bout. Dommage
>
>     > Mais bon, je ne suis pas expert, juste un amateur admiratif de
>     la puissance de spip. Et je bidouille au mieux pour que mes
>     articles ou mes pages aient de l'allure.
>
>     Alcide Carton
>
>     webmaster de l'ARBR
>
>     www.amis-robespierre.org  <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.amis-robespierre.org%2F&data=04%7C01%7C%7C339e6fdfc50f48bc161208d90429910b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637545398843517864%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=j8uEagPtNilHj0splpBnA31Zukz9iEgC8aD0m6zXYVE%3D&reserved=0>
>
>     Le 20/04/2021 à 18:30, team spipfactoy a écrit :
>
>         > Bonsoir,
>
>         > j'ai besoin d'un coup de pouce
>
>         > comment afficher un pdf dans un article en spip 3.3
>
>         > sachant qu'en spip 3.3 le pdf telecharger a comme raccourci
>         docxx
>
>         >
>
>         > merci
>
>         >
>
>         > il y a bien pdf.js mais c'est emb a priori
>
>
>                 Utilisation
>
>             > *Sous SPIP 3*
>
>             > Une fois le plugin installé, utiliser le raccourci ||
>             pour faire apparaitre le lecteur.
>
>             > Il est aussi possible de préciser la taille du cadre
>             |<emb23898|largeur=800|hauteur=600>|
>
>             > On peut aussi utiliser le lecteur en mode plein écran
>             via la page
>             > |spip.php?page=pdfjs&id_document=3|
>
>         -- 
>
>         spipfactory.fr
>
>         ----
>
>         En répondant a ce courriel vous acceptez implicitement la diffusion, l’échange de la conversation, sauf avis contraire clairement exprimé.
>
>         _______________________________________________
>
>         liste spip
>
>         [email protected]  <mailto:[email protected]>  - désabonnement : envoyer un mail à[email protected]  <mailto:[email protected]>
>
>           
>
>         Archives :https://www.mail-archive.com/[email protected]/maillist.html  <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-archive.com%2Fspip%40rezo.net%2Fmaillist.html&data=04%7C01%7C%7C339e6fdfc50f48bc161208d90429910b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637545398843527821%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=DQ9YW3ATVMj6lmr%2Bgq2K0bW4%2Bk1r6smg%2FxV%2BvJKaxQY%3D&reserved=0>
>
>           
>
>         Infos :https://listes.rezo.net/mailman/listinfo/spip  <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistes.rezo.net%2Fmailman%2Flistinfo%2Fspip&data=04%7C01%7C%7C339e6fdfc50f48bc161208d90429910b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637545398843537778%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jQjXRYPaNQBiXhVlVmBhc5Jlo5ZQfhgGwO3uMZ3ovP0%3D&reserved=0>
>
>           
>
>         Documentation de SPIP :http://www.spip.net/  <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spip.net%2F&data=04%7C01%7C%7C339e6fdfc50f48bc161208d90429910b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637545398843537778%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JK9xLPKNOIEpbV8TAcoYHGUqY86yhjrw8nzBgM63p7E%3D&reserved=0>
>
>           
>
>         Irc : de l'aide à toute heure :http://spip.net/irc  <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspip.net%2Firc&data=04%7C01%7C%7C339e6fdfc50f48bc161208d90429910b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637545398843547738%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=u%2Fajjf8kmsd5aa9qKzCQjJiI9qJE1BvptdcsLtzPO4U%3D&reserved=0>
>
>
>
>
>     _______________________________________________
>     liste spip
>     [email protected] - désabonnement : envoyer un mail à  [email protected]
>
>     Archives : https://www.mail-archive.com/[email protected]/maillist.html
>
>     Infos : https://listes.rezo.net/mailman/listinfo/spip
>
>     Documentation de SPIP : http://www.spip.net/
>
>     Irc : de l'aide à toute heure : http://spip.net/irc
>
>
> _______________________________________________
> liste spip
> [email protected] - désabonnement : envoyer un mail à  [email protected]
>
> Archives : https://www.mail-archive.com/[email protected]/maillist.html
>
> Infos : https://listes.rezo.net/mailman/listinfo/spip
>
> Documentation de SPIP : http://www.spip.net/
>
> Irc : de l'aide à toute heure : http://spip.net/irc