Primer Commit. Este codigo fue escrito en el año 2022
This commit is contained in:
18
js/exportar.js
Executable file
18
js/exportar.js
Executable file
@@ -0,0 +1,18 @@
|
||||
import { actualizar, carga,datetime } from "./lib/sys.js"
|
||||
var entradas
|
||||
|
||||
carga()
|
||||
.then(resp => {
|
||||
entradas = resp
|
||||
resultado.value=JSON.stringify(entradas)
|
||||
init()
|
||||
})
|
||||
|
||||
function init(){
|
||||
let titulo_b = document.createTextNode(entradas[0][0].sitio)
|
||||
titulo_blog.appendChild(titulo_b)
|
||||
|
||||
//descripcion del blog
|
||||
let descripcion_b = document.createTextNode(entradas[0][0].descripcion)
|
||||
descripcion_blog.appendChild(descripcion_b)
|
||||
}
|
||||
Reference in New Issue
Block a user