web1media
Forum Replies Created
-
Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] WordPress 6.8New attempt, conversion done but no OSM OotB import.
Maybe the conversion is not correct, I continue the tests.import json
from pathlib import Pathgeojson_path = Path(“/mnt/data/carte_a75.geojson”)
with open(geojson_path, “r”, encoding=”utf-8″) as f:
geojson_data = json.load(f)donnees_extraites = [feature[“properties”] for feature in geojson_data.get(“features”, [])]
output_path = Path(“/mnt/data/carte.json”)
with open(output_path, “w”, encoding=”utf-8″) as f:
json.dump(donnees_extraites, f, indent=2, ensure_ascii=False)output_path.name
Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] WordPress 6.8Yes, I saw the problem. ChatGpt doesn’t seem to work for files that are several MB in size.
Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] WordPress 6.8Thank you for your reply, I had done a test with a simple extension change, without success. I will follow your advice, hoping for a future update 🙂
Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] WordPress 6.8Hello,
Question of the day: is an import of .geojson files planned or possible? Thank you for your attention and have a nice day.Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] WordPress 6.8It’s working again, thank you very much 🙏
Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] OpenAiThanks for the Gemini clarification; I’ll test it soon.
Could this be due to the site being in WPMU ?
I’ll also test it with OAI on a standalone site to see.
To be continuedForum: Plugins
In reply to: [Out of the Block: OpenStreetMap] OpenAiHi,
As promised, here are the rest of the tests :With OpenAI
“ai_provider”: “https://api.openai.com/v1/chat/completions”,
“ai_model”: “gpt-3.5-turbo”,
“ai_api_key”: “sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”
Error message: Something went wrongWith Gemini
“ai_provider”: “https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro:generateContent”,
“ai_model”: “gemini-1.5-pro”,
“ai_api_key”: “AIzaSyDXXXXXXXXXXXXXXXXXXXXXXXXXXXX”
Error message: Something went wrongSo it will be a use without AI, too bad, thanks for the extension
Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] OpenAiThank you very much for your research. I will test and keep you informed. Beautiful day
Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] OpenAiHello, thank you for your search.
I have a pro subscription, with a bank card and access to uses so a priori it is not a credit problem
Forum: Plugins
In reply to: [Out of the Block: OpenStreetMap] OpenAiThanks for your reply.
This is my first time using an API key so…
Went to
https://platform.openai.com/api-keys
I generated a key with all permissions and then copied/pasted it into the OpenAI settings
Is that right?
I generate a new one, put it back and come back for the result.
An example of a question to suggest to me for a parallel test?
To be continued- This reply was modified 1 year, 3 months ago by web1media.
Forum: Plugins
In reply to: [SimpleTOC - Table of Contents Block] erreur SIGSEGVSolution found: disable automatic summary update in general settings.
Have a good day
Nous travaillons à 2 🙂 Le problème est donc bien résolu ! Merci à vous pour votre réactivité. Cordialement
Forum: Plugins
In reply to: [SimpleTOC - Table of Contents Block] AMP Script non valide: accordion.jsFor information, even by disabling the compression extension, the error still appears: we have abandoned the accordion function to be able to continue to use the summary with AMP
Forum: Plugins
In reply to: [SimpleTOC - Table of Contents Block] AMP Script non valide: accordion.jsThank you for your contribution. I see with our administrator and keep you informed if necessary. Good day
Forum: Plugins
In reply to: [SimpleTOC - Table of Contents Block] AMP Script non valide: accordion.jsHere is the additional information from the error validation interface, is that better for you?
https://www.petit-fichier.fr/2023/03/16/screenshot-2023-03-16-104445/
État
Retiré (Unreviewed)
Information
AMP does not allow the use of JSÂ<script> tags unless they are for loading AMP components, which are added automatically by the AMP plugin. For any page to be served as AMP, all invalid script tags must be removed from the page. Instead of custom or third-party JS, please consider using AMP components and functionality such as amp-bind and actions and events (as opposed to JS event handler attributes likeÂonclick). Some custom JS can be added if encapsulated in the amp-script. Learn more about how AMP works.If all invalid markup is “removed” the page will be served as AMP. However, the impact that the removal has on the page must be assessed to determine if the result is acceptable. If any invalid markup is “kept” then the page will not be served as AMP.
Code d’erreur
DISALLOWED_TAGBalisage non valide
<script … >Attributs de l’élémentNom de l’élément
src : https://…website…/wp-content/plugins/simpletoc/src/accordion.jsidsimpletoc-accordion-js
scriptÉlément parent
body