{"id":18319956,"url":"https://github.com/gcyrillus/apipluxml","last_synced_at":"2026-05-15T12:08:12.862Z","repository":{"id":222879181,"uuid":"758623495","full_name":"gcyrillus/ApiPluXml","owner":"gcyrillus","description":"Ebauche d'une API pour le CMS PluXml","archived":false,"fork":false,"pushed_at":"2024-03-07T13:35:24.000Z","size":137,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T15:45:20.226Z","etag":null,"topics":["api","json","plugin","pluxml"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gcyrillus.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-16T18:03:09.000Z","updated_at":"2025-03-23T20:38:51.000Z","dependencies_parsed_at":"2024-12-23T08:38:16.329Z","dependency_job_id":null,"html_url":"https://github.com/gcyrillus/ApiPluXml","commit_stats":null,"previous_names":["gcyrillus/apipluxml"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/gcyrillus/ApiPluXml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2FApiPluXml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2FApiPluXml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2FApiPluXml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2FApiPluXml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gcyrillus","download_url":"https://codeload.github.com/gcyrillus/ApiPluXml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2FApiPluXml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33066181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","json","plugin","pluxml"],"created_at":"2024-11-05T18:14:46.523Z","updated_at":"2026-05-15T12:08:12.830Z","avatar_url":"https://github.com/gcyrillus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ApiPluXml\nEbauche d'une API pour le CMS PluXml\n\nExtraction de données depuis PluXml renvoyées au format json\n\n\u003ch2\u003eExemple\u003c/h2\u003e\n\u003cp\u003e\u003cb\u003eAffiche une liste de lien des pages statiques d'un site PluXml distant.\u003c/b\u003e\u003c/p\u003e\n\u003cp\u003eDepuis un site en http interrogeant un site en https : \u003ca href=\"http://gcyrillus.free.fr/589/index.php?static5/test-free-to-https\" target=\"_blank\"\u003e http =\u003e https\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eDepuis un site en http interrogeant un site en http : \u003ca href=\"http://gcyrillus.free.fr/589/index.php?static5/test-free-to-http\" target=\"_blank\"\u003e http =\u003e http\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eDepuis un site en https interrogeant un site en https : \u003ca href=\"https://pluxopolis.net/crashnewstest/static5/sub2\" target=\"_blank\"\u003e https =\u003e https\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eDepuis un site en https interrogeant un site en http : \u003cb style=\"color:red;\"\u003ece cas de figure ne fonctionne pas pour des raisons de sécurité .\u003c/b\u003e http ne renvoit pas de réponse cryptées vers un site https aux echanges sécurisés.\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003ch3\u003eCode à inserer dans le corps HTML de votre page\u003c/h3\u003e\n\u003cpre\u003e\u003ccode\u003e\u0026lt;div id=\"results\"\u003e\u003c!-- La liste s'affiche ici --\u003e\u0026lt;/div\u003e\n\u003cscript\u003e\n/*/Config/*/\n// Votre clé\nconst apiKey = 'apiPluXml';\n\n// protocol HTTP du site (preference https (connexion sécurisé)| http non garantie )\n// connexion https =\u003e https : OK | connexion http =\u003e http OK | connexions https =\u003e http  BLOCKED ! |  http =\u003e https OK\nconst ProtocolHTTP = 'https';/* or http */\n\n// nom du domaine de l'API suivit d'un / et d'un ? si l'url rewriting n'est pas activé sur le site OluXml distant.\nconst apiPluXmlSite = 'pluxthemes.com/';/*  exemple: 'pluxopolis.net/crashnewstest/' ou 'pluxthemes.com/?'   */\n\n// nombre d'article par page\nconst apibypage=''; /* rien = la config du site distant */  \n\n// afficher l'article en entier ?\nlet artcontent= false ; /* pour voir tout l'article : mettre a  true */\n/*/End Config/*/\n\n// Création et appel du fichier javascript distant.\nlet scpt = document.createElement('script');\nscpt.setAttribute('id','apiCall');\nscpt.setAttribute('async','');\nscpt.setAttribute('src', ProtocolHTTP+'://'+apiPluXmlSite.replace(/\\?$/, '')+'plugins/ApiPluXml/js/apiCalling.js');\ndocument.querySelector('#results').appendChild(scpt);\n\n  var script = document.querySelector('#apiCall');\n  script.addEventListener('load', function() {\n\t////fonctions d'appels et d'affichage html\n\t//========================================\n\t//\tgetPlxApiResult(apiPluXmlSite+'apiPluxml') ; // aide descriptif\n\t//\tgetPlxApiResult(apiPluXmlSite+'apiPluxml\u0026static','static') ;\n\t\tgetPlxApiResult(apiPluXmlSite+'apiPluxml\u0026article\u0026page_number=1\u0026bypage=5','article') ;\n\t//\tgetPlxApiResult(apiPluXmlSite+'apiPluxml\u0026categorie','categorie') ;\n\t//\tgetPlxApiResult(apiPluXmlSite+'apiPluxml\u0026etiquette','etiquette') ;\n\n\t////fonction d'appels , retourne un objet json\n\t//============================================\n\t//\tgetPlxApiResult(apiPluXmlSite+apiPluxml\u0026commentaires','commentaires') \n\t//\tgetPlxApiResult(apiPluXmlSite+apiPluxml\u0026authors','authors')  \n\t//// (dé)commenter les lignes necessaires\n });\t\n\u003c/script\u003e\n\u003c/code\u003e\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgcyrillus%2Fapipluxml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgcyrillus%2Fapipluxml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgcyrillus%2Fapipluxml/lists"}