<center> [](https://3speak.tv/watch?v=noakmilo/inhqafhc) ▶️ [Watch on 3Speak](https://3speak.tv/watch?v=noakmilo/inhqafhc) </center> ---  <details> <summary>ENGLISH VERSION</summary><p> Hello dear HiveDevs friends, today I come to present you one of the last functions I have added to HiveTranslator.com. But first let me have a small pitch. Hive Translator is a translator and text formatter for Hive, developed by me, from Cuba 🇨🇺 for the blockchain. It is an accessibility tool that allows users to build bilingual posts for communities that allow it. And by the way, overcome the language barrier. The feature I present to you today has little to do with the main function of the app. But it has been quite demanded by the community. It is an option of format to add image galleries to our posts. For this, it simply uses some javascript running on Flask to concatenate the markdown codes of images with those of a table and build a gallery. Next I show you the code fragment of said function. </p></details> <p> Hola queridos amigos de HiveDevs, hoy vengo a presentarles una de las últimas funciones que he agregado a HiveTranslator.com. Pero antes permítanme un pequño pitch. Hive Translator es un traductor y maquetador de textos para Hive, desarrollado por mí, desde Cuba 🇨🇺 para la blockchain. Se trata de una herramienta de accesibilidad que permite a los usuarios construír posts bilingues para las comunidades que así lo permitan. Y de paso, sortear la barrera lingüística. El feature que les presento hoy no tiene mucho que ver con la función principal del app. Pero sí ha sido bastante demandada por la comunidiad. Se trata de una opción de formato para agregar galerías de imágenes a nuestros posts. Para ello, simplemente utiliza algo de javascript corriendo sobre Flask para concatenar los códigos markdown de imágenes con los de una tabla y construir una galería. A continuación les muestro el fragmento de código de dicha función. ``` function buildGallery() { var textarea = document.getElementById('input-text'); var startPos = textarea.selectionStart; var selectedText = textarea.value.substring(startPos); var img1 = document.getElementById('image1'); var img2 = document.getElementById('image2'); var img3 = document.getElementById('image3'); var dialogo = document.getElementById("gallery"); var replacement; if (img3.value !== "") { replacement = '|' + img1.value + '|' + img2.value + '|' + img3.value + '|' + '\n' + '|-|-|-|' + '\n'; } else { replacement = '|' + img1.value + '|' + img2.value + '|' + '\n' + '|-|-|' + '\n'; } textarea.value = textarea.value.substring(0, startPos) + replacement + selectedText; dialogo.style.display = "none"; } ``` ## Apoya este post - Rebloguea el post 🔁 - Comparte en las redes sociales #Web2 🔗 - Comenta para debatir y gana recompensas manuales 💬 ## Recursos empleados |**RECURSO / RESOURCE**|**FUENTE / SOURCE**| |-|-| |**Edición / Edition:** |@noakmilo| |**Texto / Text:**|@noakmilo| |**Imágenes / Pictures:**|Canva, @noakmilo, Hive Translator, Google Analytics, OpenAI| --- ▶️ [3Speak](https://3speak.tv/watch?v=noakmilo/inhqafhc)
author | noakmilo | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
permlink | inhqafhc | ||||||||||||||||||
category | hive-139531 | ||||||||||||||||||
json_metadata | "{"tags":["hivedevs","devs","cuba","python","buildinpublic","javascript","mvp","html","css","frontend"],"app":"3speak/0.3.0","type":"3speak/video","image":["https://files.peakd.com/file/peakd-hive/noakmilo/23wXR5a9G379jtuysNAQ7dhxETCCYkqi6h45k6bAfzG3XcixtsLWUU5Usd16akMfgTseD.png"],"video":{"info":{"platform":"3speak","title":"Contruye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧","author":"noakmilo","permlink":"inhqafhc","duration":338.766667,"filesize":58825218,"file":"ipfs://bafybeieojjp2qvvrux52qsbzomypnptoi5ssqddmvskehjddgt3hnld2ty","lang":"es","firstUpload":false,"ipfs":null,"ipfsThumbnail":null,"video_v2":"ipfs://QmfZ4YmtjQ9Vx44bieaD3pvtnS6zRESA8YMYYL8C5gNj6V/manifest.m3u8","sourceMap":[{"type":"video","url":"ipfs://QmfZ4YmtjQ9Vx44bieaD3pvtnS6zRESA8YMYYL8C5gNj6V/manifest.m3u8","format":"m3u8"},{"type":"thumbnail","url":"ipfs://bafkreifh3sqzlrv7ukcvrewkzjkaf6ummysrk7d5qqux7prcpqylvpq42u"}]},"content":{"description":"\r\n\r\n\r\n<details>\r\n<summary>ENGLISH VERSION</summary><p>\r\nHello dear HiveDevs friends, today I come to present you one of the last functions I have added to HiveTranslator.com. But first let me have a small pitch.\r\n\r\nHive Translator is a translator and text formatter for Hive, developed by me, from Cuba 🇨🇺 for the blockchain. It is an accessibility tool that allows users to build bilingual posts for communities that allow it. And by the way, overcome the language barrier.\r\n\r\nThe feature I present to you today has little to do with the main function of the app. But it has been quite demanded by the community. It is an option of format to add image galleries to our posts. For this, it simply uses some javascript running on Flask to concatenate the markdown codes of images with those of a table and build a gallery. Next I show you the code fragment of said function.\r\n</p></details>\r\n\r\n<p>\r\nHola queridos amigos de HiveDevs, hoy vengo a presentarles una de las últimas funciones que he agregado a HiveTranslator.com. Pero antes permítanme un pequño pitch.\r\n\r\nHive Translator es un traductor y maquetador de textos para Hive, desarrollado por mí, desde Cuba 🇨🇺 para la blockchain. Se trata de una herramienta de accesibilidad que permite a los usuarios construír posts bilingues para las comunidades que así lo permitan. Y de paso, sortear la barrera lingüística.\r\n\r\nEl feature que les presento hoy no tiene mucho que ver con la función principal del app. Pero sí ha sido bastante demandada por la comunidiad. Se trata de una opción de formato para agregar galerías de imágenes a nuestros posts. Para ello, simplemente utiliza algo de javascript corriendo sobre Flask para concatenar los códigos markdown de imágenes con los de una tabla y construir una galería. A continuación les muestro el fragmento de código de dicha función.\r\n\r\n```\r\nfunction buildGallery() {\r\n var textarea = document.getElementById('input-text');\r\n var startPos = textarea.selectionStart;\r\n var selectedText = textarea.value.substring(startPos);\r\n var img1 = document.getElementById('image1');\r\n var img2 = document.getElementById('image2');\r\n var img3 = document.getElementById('image3');\r\n var dialogo = document.getElementById(\"gallery\");\r\n var replacement;\r\n \r\n if (img3.value !== \"\") {\r\n replacement = '|' + img1.value + '|' + img2.value + '|' + img3.value + '|' + '\\n' + '|-|-|-|' + '\\n';\r\n } else {\r\n replacement = '|' + img1.value + '|' + img2.value + '|' + '\\n' + '|-|-|' + '\\n';\r\n }\r\n\r\n textarea.value = textarea.value.substring(0, startPos) + replacement + selectedText;\r\n dialogo.style.display = \"none\";\r\n }\r\n\r\n```\r\n\r\n## Apoya este post\r\n\r\n- Rebloguea el post 🔁 \r\n- Comparte en las redes sociales #Web2 🔗\r\n- Comenta para debatir y gana recompensas manuales 💬\r\n\r\n## Recursos empleados\r\n\r\n|**RECURSO / RESOURCE**|**FUENTE / SOURCE**|\r\n|-|-|\r\n|**Edición / Edition:** |@noakmilo|\r\n|**Texto / Text:**|@noakmilo| \r\n|**Imágenes / Pictures:**|Canva, @noakmilo, Hive Translator, Google Analytics, OpenAI|","tags":["hivedevs","devs","cuba","python","buildinpublic","javascript","mvp","html","css","frontend","translation"]}},"users":["noakmilo"],"format":"markdown"}" | ||||||||||||||||||
created | 2023-05-22 19:04:06 | ||||||||||||||||||
last_update | 2023-05-22 20:59:15 | ||||||||||||||||||
depth | 0 | ||||||||||||||||||
children | 9 | ||||||||||||||||||
last_payout | 2023-05-29 19:04:06 | ||||||||||||||||||
cashout_time | 1969-12-31 23:59:59 | ||||||||||||||||||
total_payout_value | 0.408 HBD | ||||||||||||||||||
curator_payout_value | 0.447 HBD | ||||||||||||||||||
pending_payout_value | 0.000 HBD | ||||||||||||||||||
promoted | 0.000 HBD | ||||||||||||||||||
body_length | 3,497 | ||||||||||||||||||
author_reputation | 316,979,969,664,499 | ||||||||||||||||||
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" | ||||||||||||||||||
beneficiaries |
| ||||||||||||||||||
max_accepted_payout | 100,000.000 HBD | ||||||||||||||||||
percent_hbd | 10,000 | ||||||||||||||||||
post_id | 123,736,726 | ||||||||||||||||||
net_rshares | 1,947,873,340,480 | ||||||||||||||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
shadowmyst | 0 | 1,430,738,937 | 100% | ||
jaynie | 0 | 343,771,150,864 | 25% | ||
viper160891 | 0 | 1,534,402,409 | 100% | ||
elderson | 0 | 8,186,559,881 | 11% | ||
spiritabsolute | 0 | 34,346,706,857 | 100% | ||
daltono | 0 | 369,358,878,119 | 22% | ||
tryskele | 0 | 1,293,818,031 | 5% | ||
theluvbug | 0 | 1,756,919,847 | 25% | ||
ronaldjfs | 0 | 0 | 100% | ||
steemulant | 0 | 132,321,413 | 7.93% | ||
smartvote | 0 | 66,798,608,822 | 2.7% | ||
escuadron201 | 0 | 75,844,548,700 | 100% | ||
steemtelly | 0 | 2,501,785,086 | 7.93% | ||
creacioneslelys | 0 | 34,664,101,968 | 100% | ||
hive-data | 0 | 10,029,612,007 | 3% | ||
lioz3018 | 0 | 550,525,705 | 50% | ||
alteramelia | 0 | 19,803,211,797 | 100% | ||
rickyuribe | 0 | 5,459,208,792 | 100% | ||
paula1411 | 0 | 676,271,881 | 100% | ||
manuphotos | 0 | 1,228,496,639 | 25% | ||
jomancub | 0 | 7,621,172,938 | 50% | ||
miguelgonzalezms | 0 | 514,710,606 | 25% | ||
gustavoluque | 0 | 1,882,991,980 | 100% | ||
manuelernestogr | 0 | 1,545,418,194 | 50% | ||
apoklipsix | 0 | 1,879,532,090 | 50% | ||
yecier | 0 | 4,997,824,683 | 100% | ||
osmy91 | 0 | 2,619,467,187 | 50% | ||
lormez16 | 0 | 17,118,677,954 | 100% | ||
crptogeek | 0 | 10,226,676,066 | 50% | ||
karelnt | 0 | 1,703,687,865 | 50% | ||
abelfotografia | 0 | 11,276,243,733 | 17% | ||
ditoferrer | 0 | 1,152,006,093 | 25% | ||
cryptocubangirl | 0 | 663,187,947 | 25% | ||
hivecuba | 0 | 743,188,295,013 | 50% | ||
demoad | 0 | 1,725,920,070 | 25% | ||
lileisabel | 0 | 41,019,906,130 | 100% | ||
theinfiltred | 0 | 13,109,105,143 | 98% | ||
fabiodc | 0 | 500,512,779 | 40% | ||
tecnologyfan1 | 0 | 3,189,257,290 | 50% | ||
ersusoficial | 0 | 1,789,902,560 | 100% | ||
ricardoeloy | 0 | 958,691,501 | 25% | ||
androliuben | 0 | 1,753,777,014 | 25% | ||
janusmolinovsky | 0 | 7,398,590,768 | 100% | ||
criptocuates | 0 | 253,736,327 | 100% | ||
pumarte | 0 | 5,782,783,760 | 50% | ||
mortsanchezzz | 0 | 1,147,849,520 | 50% | ||
the13anarchist | 0 | 934,308,189 | 5.5% | ||
mowgl1ph | 0 | 620,997,785 | 25% | ||
kumagaro | 0 | 888,769,971 | 50% | ||
pacobeta365 | 0 | 4,561,415,458 | 20% | ||
r4f4 | 0 | 1,840,447,775 | 100% | ||
hiveremesas | 0 | 1,292,819,347 | 50% | ||
ralbe | 0 | 632,875,144 | 100% | ||
eduardo900613 | 0 | 17,481,353,609 | 100% | ||
mariolisrnaranjo | 0 | 833,975,584 | 25% | ||
garorant | 0 | 7,516,208,059 | 100% | ||
avdesing | 0 | 8,301,615,517 | 30% | ||
jesusdiaz880924 | 0 | 836,727,293 | 25% | ||
adailsm | 0 | 1,791,182,303 | 50% | ||
ceciliajess | 0 | 14,942,025,691 | 100% | ||
ylaffittep | 0 | 9,563,062,696 | 100% | ||
amambay | 0 | 2,643,991,208 | 100% | ||
mistercasal | 0 | 621,331,877 | 100% | ||
dahpilot | 0 | 556,756,468 | 30% | ||
griselpattdiaz | 0 | 2,422,857,779 | 100% | ||
meli00 | 0 | 1,380,249,115 | 100% | ||
topospunk | 0 | 0 | 100% | ||
language-scanner | 0 | 3,822,576,646 | 10% |
Impresionante las nuevas funcionalidades @noakmilo, que genial como está quedando. Que genio!! Saludos Kmilo!✨
author | avdesing |
---|---|
permlink | re-noakmilo-rv2rhx |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2023.5.1"} |
created | 2023-05-22 19:29:57 |
last_update | 2023-05-22 19:29:57 |
depth | 1 |
children | 0 |
last_payout | 2023-05-29 19:29:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 112 |
author_reputation | 655,363,725,011,207 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,737,385 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tips.tracker | 0 | 0 | 1% |
Yo te felicito por tu empeño por proporcionarnos esta nueva herramienta e ir actualizándola para mejorarla. Espero aprender sobre esto 😃 pronto. Muchos saludos @noakmilo
author | creacioneslelys |
---|---|
permlink | re-noakmilo-rv2sht |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2023.5.1"} |
created | 2023-05-22 19:51:36 |
last_update | 2023-05-22 19:51:36 |
depth | 1 |
children | 0 |
last_payout | 2023-05-29 19:51:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 170 |
author_reputation | 514,391,288,433,000 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,737,873 |
net_rshares | 0 |
Saludos amigo, muchas felicidades por todo ese trabajo que está haciendo para facilitar el trabajo a muchos hivers, todavía no le he probado, pero he visto cada uno de los videos y las funciones que les están implementando son geniales, además un gran trabajo de programación. Muy útil para crear esas galerías, siempre se aprende algo nuevo en hive, por eso esas clases son de gran ayuda. Muchas felicidades amigo.
author | davidpena21 |
---|---|
permlink | re-noakmilo-2023522t203645158z |
category | hive-139531 |
json_metadata | {"tags":["hivedevs","devs","cuba","python","buildinpublic","javascript","mvp","html","css","frontend"],"app":"ecency/3.0.31-vision","format":"markdown+html"} |
created | 2023-05-23 00:36:45 |
last_update | 2023-05-23 00:36:45 |
depth | 1 |
children | 1 |
last_payout | 2023-05-30 00:36:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 416 |
author_reputation | 722,698,654,492,492 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,744,384 |
net_rshares | 0 |
Muchisimas gracias por el apoyo amigo.<div><a href="https://engage.hivechain.app"></a></div>
author | noakmilo |
---|---|
permlink | re-1684877732178 |
category | hive-139531 |
json_metadata | {"app":"engage"} |
created | 2023-05-23 21:35:33 |
last_update | 2023-05-23 21:35:33 |
depth | 2 |
children | 0 |
last_payout | 2023-05-30 21:35:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 128 |
author_reputation | 316,979,969,664,499 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,770,167 |
net_rshares | 0 |
Te estoy stalkeando y me díi cuenta que no había visto este video. Tengo que ponerlo aprueba lo antes posible. Lo pruebo y te aviso que tal, pero, esta funcionalidad esta genial.
author | filoriologo |
---|---|
permlink | re-noakmilo-rvxszv |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2023.6.2"} |
created | 2023-06-08 13:48:00 |
last_update | 2023-06-08 13:48:00 |
depth | 1 |
children | 0 |
last_payout | 2023-06-15 13:48:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 179 |
author_reputation | 468,823,075,645,050 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 124,264,655 |
net_rshares | 0 |
Genial
author | janusmolinovsky |
---|---|
permlink | re-noakmilo-rv3aqj |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2023.5.1"} |
created | 2023-05-23 02:25:30 |
last_update | 2023-05-23 02:25:30 |
depth | 1 |
children | 1 |
last_payout | 2023-05-30 02:25:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 8 |
author_reputation | 79,008,928,338,935 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,746,531 |
net_rshares | 0 |
🥰<div><a href="https://engage.hivechain.app"></a></div>
author | noakmilo |
---|---|
permlink | re-1684877744279 |
category | hive-139531 |
json_metadata | {"app":"engage"} |
created | 2023-05-23 21:35:45 |
last_update | 2023-05-23 21:35:45 |
depth | 2 |
children | 0 |
last_payout | 2023-05-30 21:35:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 91 |
author_reputation | 316,979,969,664,499 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,770,170 |
net_rshares | 0 |
Bueno puedo decir que aprendí algo que no sabía sobre poder hacer galerías en Hive. ¿Kmilo no has pensado subir estos videos a Youtube una vez pasen los 7 días? No solo le das la primicia a Hive sino que (si lograr monetizar) le alargas la vida recaudatoria al video hasta el infinito y sobre todo encuentras un público allí que no conoce la web3 y que puedes atraer hasta Hive. Casi pienso que se me había jodido el fan de la laptop viendo el video jajaja.
author | yecier |
---|---|
permlink | re-noakmilo-2023523t16439839z |
category | hive-139531 |
json_metadata | {"tags":["hivedevs","devs","cuba","python","buildinpublic","javascript","mvp","html","css","frontend"],"app":"ecency/3.0.31-vision","format":"markdown+html"} |
created | 2023-05-23 21:04:36 |
last_update | 2023-05-23 21:04:36 |
depth | 1 |
children | 1 |
last_payout | 2023-05-30 21:04:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 459 |
author_reputation | 61,189,950,927,997 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,769,475 |
net_rshares | 0 |
Puede ser, pero tengo mi canal de Youtube tan desorganizado que me pesa jajajajaj... gracias mil por el apoyo bro!
author | noakmilo |
---|---|
permlink | re-yecier-rv4qu6 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2023.5.1"} |
created | 2023-05-23 21:10:57 |
last_update | 2023-05-23 21:10:57 |
depth | 2 |
children | 0 |
last_payout | 2023-05-30 21:10:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 114 |
author_reputation | 316,979,969,664,499 |
root_title | "Construye galerías de imágenes con Hive Translator 🇪🇸 🇬🇧" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,769,593 |
net_rshares | 0 |