Es en invierno donde ya se nota ese frío invernal que siempre es necesario después de los meses soleados del verano, pero es muy importante estar preparados para estos cambios de temperatura para evitar enfermar y además no hay como llegar al hogar y encontrarnos con un cálido y agradable ambiente.
.nda-portada-widget {
display: block;
width: 100%;
box-sizing: border-box;
margin: 24px 0;
border: 2px solid #f58220;
border-radius: 5px;
overflow: hidden;
background: #fff;
font-family: Arial, Helvetica, sans-serif;
}
.nda-portada-cabecera {
background: #f58220;
color: #fff;
padding: 11px 14px;
font-size: 17px;
font-weight: 800;
letter-spacing: .5px;
line-height: 1.3;
}
.nda-portada-contenido {
display: flex;
align-items: center;
gap: 14px;
padding: 13px;
color: #222 !important;
text-decoration: none !important;
background: #fff;
transition: background .2s ease;
}
.nda-portada-contenido:hover {
background: #fff5ec;
}
.nda-portada-contenido img {
display: block;
width: 34%;
max-width: 190px;
height: 110px;
object-fit: cover;
flex-shrink: 0;
border-radius: 3px;
}
.nda-portada-contenido img[hidden] {
display: none;
}
.nda-portada-texto {
display: flex;
flex-direction: column;
gap: 9px;
min-width: 0;
}
#nda-portada-titular {
font-size: 18px;
font-weight: 700;
line-height: 1.35;
}
.nda-portada-leer {
color: #e76f00;
font-size: 13px;
font-weight: 700;
}
@media (max-width: 480px) {
.nda-portada-contenido {
gap: 10px;
padding: 10px;
}
.nda-portada-contenido img {
width: 36%;
height: 88px;
}
#nda-portada-titular {
font-size: 15px;
}
.nda-portada-cabecera {
font-size: 15px;
}
}
(function () {
const rss = 'https://www.noticiasdealmeria.com/rss/tag/principal-2';
const titulo = document.getElementById('nda-portada-titular');
const enlace = document.getElementById('nda-portada-enlace');
const imagen = document.getElementById('nda-portada-imagen');
function textoDe(elemento, nombre) {
const nodo = elemento.getElementsByTagName(nombre)[0];
return nodo ? nodo.textContent.trim() : '';
}
function cargarPortada() {
fetch(rss, { cache: 'no-cache' })
.then(function (respuesta) {
if (!respuesta.ok) throw new Error('RSS no disponible');
return respuesta.text();
})
.then(function (xmlTexto) {
const xml = new DOMParser().parseFromString(
xmlTexto, 'text/xml'
);
if (xml.querySelector('parsererror')) {
throw new Error('RSS no válido');
}
const noticia = xml.querySelector('item');
if (!noticia) throw new Error('No hay noticias');
const titular = textoDe(noticia, 'title');
const url = textoDe(noticia, 'link');
if (!titular || !url) throw new Error('Noticia incompleta');
const destino = new URL(url, location.href);
if (destino.origin !== location.origin) {
throw new Error('Enlace de noticia no válido');
}
titulo.textContent = titular;
enlace.href = destino.href;
let foto = '';
const contenido = noticia.getElementsByTagNameNS(
'*', 'content'
)[0];
const enclosure = noticia.querySelector('enclosure');
if (contenido) {
foto = contenido.getAttribute('url') || '';
}
if (!foto && enclosure) {
foto = enclosure.getAttribute('url') || '';
}
if (!foto) {
const descripcion = textoDe(noticia, 'description');
const documento = new DOMParser().parseFromString(
descripcion, 'text/html'
);
const img = documento.querySelector('img');
if (img) foto = img.getAttribute('src') || '';
}
if (foto) {
try {
const fotoURL = new URL(foto, location.href);
if (fotoURL.protocol === 'https:' ||
fotoURL.protocol === 'http:') {
imagen.src = fotoURL.href;
imagen.hidden = false;
}
} catch (e) {}
}
})
.catch(function () {
titulo.textContent = 'Consulta las noticias destacadas en portada';
enlace.href = 'https://www.noticiasdealmeria.com/';
imagen.hidden = true;
});
}
cargarPortada();
window.setInterval(cargarPortada, 5 * 60 * 1000);
})();
Para conseguir ese agradable clima dentro de casa es imprescindible contar con el equipamiento necesario, es decir, una buena caldera ya sea de gas o condensación o un radiador eléctrico, ya que ambos aparatos han sido diseñados para ofrecerte el confort que necesitas en temporadas donde las bajas temperaturas hacen de las suyas, así que solo queda de tu parte escoger la que más te guste y mejor se adapta al espacio, presupuesto o necesidad.
¿Dónde puedes comprar una caldera de gas?
Las tiendas especializadas en la venta e instalación de estos equipos y otros vinculados a la climatización de ambientes internos ponen a tu disposición variedad de modelos, marcas y excelentes precios, por ejemplo Expert Clima.
.nda-portada-widget {
display: block;
width: 100%;
box-sizing: border-box;
margin: 24px 0;
border: 2px solid #f58220;
border-radius: 5px;
overflow: hidden;
background: #fff;
font-family: Arial, Helvetica, sans-serif;
}
.nda-portada-cabecera {
background: #f58220;
color: #fff;
padding: 11px 14px;
font-size: 17px;
font-weight: 800;
letter-spacing: .5px;
line-height: 1.3;
}
.nda-portada-contenido {
display: flex;
align-items: center;
gap: 14px;
padding: 13px;
color: #222 !important;
text-decoration: none !important;
background: #fff;
transition: background .2s ease;
}
.nda-portada-contenido:hover {
background: #fff5ec;
}
.nda-portada-contenido img {
display: block;
width: 34%;
max-width: 190px;
height: 110px;
object-fit: cover;
flex-shrink: 0;
border-radius: 3px;
}
.nda-portada-contenido img[hidden] {
display: none;
}
.nda-portada-texto {
display: flex;
flex-direction: column;
gap: 9px;
min-width: 0;
}
#nda-portada-titular {
font-size: 18px;
font-weight: 700;
line-height: 1.35;
}
.nda-portada-leer {
color: #e76f00;
font-size: 13px;
font-weight: 700;
}
@media (max-width: 480px) {
.nda-portada-contenido {
gap: 10px;
padding: 10px;
}
.nda-portada-contenido img {
width: 36%;
height: 88px;
}
#nda-portada-titular {
font-size: 15px;
}
.nda-portada-cabecera {
font-size: 15px;
}
}
(function () {
const rss = 'https://www.noticiasdealmeria.com/rss/tag/principal-2';
const titulo = document.getElementById('nda-portada-titular');
const enlace = document.getElementById('nda-portada-enlace');
const imagen = document.getElementById('nda-portada-imagen');
function textoDe(elemento, nombre) {
const nodo = elemento.getElementsByTagName(nombre)[0];
return nodo ? nodo.textContent.trim() : '';
}
function cargarPortada() {
fetch(rss, { cache: 'no-cache' })
.then(function (respuesta) {
if (!respuesta.ok) throw new Error('RSS no disponible');
return respuesta.text();
})
.then(function (xmlTexto) {
const xml = new DOMParser().parseFromString(
xmlTexto, 'text/xml'
);
if (xml.querySelector('parsererror')) {
throw new Error('RSS no válido');
}
const noticia = xml.querySelector('item');
if (!noticia) throw new Error('No hay noticias');
const titular = textoDe(noticia, 'title');
const url = textoDe(noticia, 'link');
if (!titular || !url) throw new Error('Noticia incompleta');
const destino = new URL(url, location.href);
if (destino.origin !== location.origin) {
throw new Error('Enlace de noticia no válido');
}
titulo.textContent = titular;
enlace.href = destino.href;
let foto = '';
const contenido = noticia.getElementsByTagNameNS(
'*', 'content'
)[0];
const enclosure = noticia.querySelector('enclosure');
if (contenido) {
foto = contenido.getAttribute('url') || '';
}
if (!foto && enclosure) {
foto = enclosure.getAttribute('url') || '';
}
if (!foto) {
const descripcion = textoDe(noticia, 'description');
const documento = new DOMParser().parseFromString(
descripcion, 'text/html'
);
const img = documento.querySelector('img');
if (img) foto = img.getAttribute('src') || '';
}
if (foto) {
try {
const fotoURL = new URL(foto, location.href);
if (fotoURL.protocol === 'https:' ||
fotoURL.protocol === 'http:') {
imagen.src = fotoURL.href;
imagen.hidden = false;
}
} catch (e) {}
}
})
.catch(function () {
titulo.textContent = 'Consulta las noticias destacadas en portada';
enlace.href = 'https://www.noticiasdealmeria.com/';
imagen.hidden = true;
});
}
cargarPortada();
window.setInterval(cargarPortada, 5 * 60 * 1000);
})();
Tener una caldera de gas instalada en casa te proporciona una serie de ventajas, no en vano su uso se ha extendido los últimos años aun cuando el trabajo de instalación tiene cierto nivel de complejidad, ya que una vez instalada el confort para el hogar y sus habitantes es único.
Ventajas de la calefacción con caldera de gas:
- El calor que generan estas calderas tiene un mayor alcance que el de otros sistemas de calefacción, de hecho sus radiadores se calientan mucho menos.
- Mientras más potente sea la caldera más calor va a generar, por lo tanto escoger un modelo u otro dependerá del espacio que se necesita ambientar y demás necesidades del usuario.
- Obtienes una calefacción tan segura como limpia.
¿Por qué acudir a las tiendas especializadas en el sector?
Si tienes duda sobre el modelo y la instalación, acude a la asesoría de quienes cuentan con la experiencia.
Si lo que necesitas es una buena asesoría no debes dudar en acudir a una tienda especializada en calderas de gas ya que solo allí vas a conseguir a profesionales debidamente preparados para guiarte en los aspectos donde lo necesites, bien sea en el equipo que necesitas comprar, tamaño, modelo, potencia y precio por una parte.
.nda-portada-widget {
display: block;
width: 100%;
box-sizing: border-box;
margin: 24px 0;
border: 2px solid #f58220;
border-radius: 5px;
overflow: hidden;
background: #fff;
font-family: Arial, Helvetica, sans-serif;
}
.nda-portada-cabecera {
background: #f58220;
color: #fff;
padding: 11px 14px;
font-size: 17px;
font-weight: 800;
letter-spacing: .5px;
line-height: 1.3;
}
.nda-portada-contenido {
display: flex;
align-items: center;
gap: 14px;
padding: 13px;
color: #222 !important;
text-decoration: none !important;
background: #fff;
transition: background .2s ease;
}
.nda-portada-contenido:hover {
background: #fff5ec;
}
.nda-portada-contenido img {
display: block;
width: 34%;
max-width: 190px;
height: 110px;
object-fit: cover;
flex-shrink: 0;
border-radius: 3px;
}
.nda-portada-contenido img[hidden] {
display: none;
}
.nda-portada-texto {
display: flex;
flex-direction: column;
gap: 9px;
min-width: 0;
}
#nda-portada-titular {
font-size: 18px;
font-weight: 700;
line-height: 1.35;
}
.nda-portada-leer {
color: #e76f00;
font-size: 13px;
font-weight: 700;
}
@media (max-width: 480px) {
.nda-portada-contenido {
gap: 10px;
padding: 10px;
}
.nda-portada-contenido img {
width: 36%;
height: 88px;
}
#nda-portada-titular {
font-size: 15px;
}
.nda-portada-cabecera {
font-size: 15px;
}
}
(function () {
const rss = 'https://www.noticiasdealmeria.com/rss/tag/principal-2';
const titulo = document.getElementById('nda-portada-titular');
const enlace = document.getElementById('nda-portada-enlace');
const imagen = document.getElementById('nda-portada-imagen');
function textoDe(elemento, nombre) {
const nodo = elemento.getElementsByTagName(nombre)[0];
return nodo ? nodo.textContent.trim() : '';
}
function cargarPortada() {
fetch(rss, { cache: 'no-cache' })
.then(function (respuesta) {
if (!respuesta.ok) throw new Error('RSS no disponible');
return respuesta.text();
})
.then(function (xmlTexto) {
const xml = new DOMParser().parseFromString(
xmlTexto, 'text/xml'
);
if (xml.querySelector('parsererror')) {
throw new Error('RSS no válido');
}
const noticia = xml.querySelector('item');
if (!noticia) throw new Error('No hay noticias');
const titular = textoDe(noticia, 'title');
const url = textoDe(noticia, 'link');
if (!titular || !url) throw new Error('Noticia incompleta');
const destino = new URL(url, location.href);
if (destino.origin !== location.origin) {
throw new Error('Enlace de noticia no válido');
}
titulo.textContent = titular;
enlace.href = destino.href;
let foto = '';
const contenido = noticia.getElementsByTagNameNS(
'*', 'content'
)[0];
const enclosure = noticia.querySelector('enclosure');
if (contenido) {
foto = contenido.getAttribute('url') || '';
}
if (!foto && enclosure) {
foto = enclosure.getAttribute('url') || '';
}
if (!foto) {
const descripcion = textoDe(noticia, 'description');
const documento = new DOMParser().parseFromString(
descripcion, 'text/html'
);
const img = documento.querySelector('img');
if (img) foto = img.getAttribute('src') || '';
}
if (foto) {
try {
const fotoURL = new URL(foto, location.href);
if (fotoURL.protocol === 'https:' ||
fotoURL.protocol === 'http:') {
imagen.src = fotoURL.href;
imagen.hidden = false;
}
} catch (e) {}
}
})
.catch(function () {
titulo.textContent = 'Consulta las noticias destacadas en portada';
enlace.href = 'https://www.noticiasdealmeria.com/';
imagen.hidden = true;
});
}
cargarPortada();
window.setInterval(cargarPortada, 5 * 60 * 1000);
})();
Por otra el espacio donde va a ser instalado, por supuesto el servicio técnico y las garantías necesarias de la correcta instalación y funcionamiento del sistema de calefacción.
Cuando se trata de la seguridad y la comodidad que necesitamos dentro de casa solo cabe delegar este tipo de trabajos a las manos que están cualificadas para ello y justo es eso lo que consigues en estas empresas que llevan años de preparación en el sector y están en posición de ofrecerte instalaciones seguras y de la más alta calidad.
.nda-portada-widget {
display: block;
width: 100%;
box-sizing: border-box;
margin: 24px 0;
border: 2px solid #f58220;
border-radius: 5px;
overflow: hidden;
background: #fff;
font-family: Arial, Helvetica, sans-serif;
}
.nda-portada-cabecera {
background: #f58220;
color: #fff;
padding: 11px 14px;
font-size: 17px;
font-weight: 800;
letter-spacing: .5px;
line-height: 1.3;
}
.nda-portada-contenido {
display: flex;
align-items: center;
gap: 14px;
padding: 13px;
color: #222 !important;
text-decoration: none !important;
background: #fff;
transition: background .2s ease;
}
.nda-portada-contenido:hover {
background: #fff5ec;
}
.nda-portada-contenido img {
display: block;
width: 34%;
max-width: 190px;
height: 110px;
object-fit: cover;
flex-shrink: 0;
border-radius: 3px;
}
.nda-portada-contenido img[hidden] {
display: none;
}
.nda-portada-texto {
display: flex;
flex-direction: column;
gap: 9px;
min-width: 0;
}
#nda-portada-titular {
font-size: 18px;
font-weight: 700;
line-height: 1.35;
}
.nda-portada-leer {
color: #e76f00;
font-size: 13px;
font-weight: 700;
}
@media (max-width: 480px) {
.nda-portada-contenido {
gap: 10px;
padding: 10px;
}
.nda-portada-contenido img {
width: 36%;
height: 88px;
}
#nda-portada-titular {
font-size: 15px;
}
.nda-portada-cabecera {
font-size: 15px;
}
}
(function () {
const rss = 'https://www.noticiasdealmeria.com/rss/tag/principal-2';
const titulo = document.getElementById('nda-portada-titular');
const enlace = document.getElementById('nda-portada-enlace');
const imagen = document.getElementById('nda-portada-imagen');
function textoDe(elemento, nombre) {
const nodo = elemento.getElementsByTagName(nombre)[0];
return nodo ? nodo.textContent.trim() : '';
}
function cargarPortada() {
fetch(rss, { cache: 'no-cache' })
.then(function (respuesta) {
if (!respuesta.ok) throw new Error('RSS no disponible');
return respuesta.text();
})
.then(function (xmlTexto) {
const xml = new DOMParser().parseFromString(
xmlTexto, 'text/xml'
);
if (xml.querySelector('parsererror')) {
throw new Error('RSS no válido');
}
const noticia = xml.querySelector('item');
if (!noticia) throw new Error('No hay noticias');
const titular = textoDe(noticia, 'title');
const url = textoDe(noticia, 'link');
if (!titular || !url) throw new Error('Noticia incompleta');
const destino = new URL(url, location.href);
if (destino.origin !== location.origin) {
throw new Error('Enlace de noticia no válido');
}
titulo.textContent = titular;
enlace.href = destino.href;
let foto = '';
const contenido = noticia.getElementsByTagNameNS(
'*', 'content'
)[0];
const enclosure = noticia.querySelector('enclosure');
if (contenido) {
foto = contenido.getAttribute('url') || '';
}
if (!foto && enclosure) {
foto = enclosure.getAttribute('url') || '';
}
if (!foto) {
const descripcion = textoDe(noticia, 'description');
const documento = new DOMParser().parseFromString(
descripcion, 'text/html'
);
const img = documento.querySelector('img');
if (img) foto = img.getAttribute('src') || '';
}
if (foto) {
try {
const fotoURL = new URL(foto, location.href);
if (fotoURL.protocol === 'https:' ||
fotoURL.protocol === 'http:') {
imagen.src = fotoURL.href;
imagen.hidden = false;
}
} catch (e) {}
}
})
.catch(function () {
titulo.textContent = 'Consulta las noticias destacadas en portada';
enlace.href = 'https://www.noticiasdealmeria.com/';
imagen.hidden = true;
});
}
cargarPortada();
window.setInterval(cargarPortada, 5 * 60 * 1000);
})();
Así que te recomendamos que no pongas en riesgo tu seguridad y la de tu familia, ponte en contacto con los mejores instaladores de sistemas de calefacción y si quedaste contento con el servicio recomiéndalo a otros.
Los radiadores eléctricos son una gran alternativa
Y es que en la actualidad hay gran variedad de modelos que además de que son muy sencillos de instalar, están dotados de nuevas tecnologías que los hacen mucho más eficientes.
.nda-portada-widget {
display: block;
width: 100%;
box-sizing: border-box;
margin: 24px 0;
border: 2px solid #f58220;
border-radius: 5px;
overflow: hidden;
background: #fff;
font-family: Arial, Helvetica, sans-serif;
}
.nda-portada-cabecera {
background: #f58220;
color: #fff;
padding: 11px 14px;
font-size: 17px;
font-weight: 800;
letter-spacing: .5px;
line-height: 1.3;
}
.nda-portada-contenido {
display: flex;
align-items: center;
gap: 14px;
padding: 13px;
color: #222 !important;
text-decoration: none !important;
background: #fff;
transition: background .2s ease;
}
.nda-portada-contenido:hover {
background: #fff5ec;
}
.nda-portada-contenido img {
display: block;
width: 34%;
max-width: 190px;
height: 110px;
object-fit: cover;
flex-shrink: 0;
border-radius: 3px;
}
.nda-portada-contenido img[hidden] {
display: none;
}
.nda-portada-texto {
display: flex;
flex-direction: column;
gap: 9px;
min-width: 0;
}
#nda-portada-titular {
font-size: 18px;
font-weight: 700;
line-height: 1.35;
}
.nda-portada-leer {
color: #e76f00;
font-size: 13px;
font-weight: 700;
}
@media (max-width: 480px) {
.nda-portada-contenido {
gap: 10px;
padding: 10px;
}
.nda-portada-contenido img {
width: 36%;
height: 88px;
}
#nda-portada-titular {
font-size: 15px;
}
.nda-portada-cabecera {
font-size: 15px;
}
}
(function () {
const rss = 'https://www.noticiasdealmeria.com/rss/tag/principal-2';
const titulo = document.getElementById('nda-portada-titular');
const enlace = document.getElementById('nda-portada-enlace');
const imagen = document.getElementById('nda-portada-imagen');
function textoDe(elemento, nombre) {
const nodo = elemento.getElementsByTagName(nombre)[0];
return nodo ? nodo.textContent.trim() : '';
}
function cargarPortada() {
fetch(rss, { cache: 'no-cache' })
.then(function (respuesta) {
if (!respuesta.ok) throw new Error('RSS no disponible');
return respuesta.text();
})
.then(function (xmlTexto) {
const xml = new DOMParser().parseFromString(
xmlTexto, 'text/xml'
);
if (xml.querySelector('parsererror')) {
throw new Error('RSS no válido');
}
const noticia = xml.querySelector('item');
if (!noticia) throw new Error('No hay noticias');
const titular = textoDe(noticia, 'title');
const url = textoDe(noticia, 'link');
if (!titular || !url) throw new Error('Noticia incompleta');
const destino = new URL(url, location.href);
if (destino.origin !== location.origin) {
throw new Error('Enlace de noticia no válido');
}
titulo.textContent = titular;
enlace.href = destino.href;
let foto = '';
const contenido = noticia.getElementsByTagNameNS(
'*', 'content'
)[0];
const enclosure = noticia.querySelector('enclosure');
if (contenido) {
foto = contenido.getAttribute('url') || '';
}
if (!foto && enclosure) {
foto = enclosure.getAttribute('url') || '';
}
if (!foto) {
const descripcion = textoDe(noticia, 'description');
const documento = new DOMParser().parseFromString(
descripcion, 'text/html'
);
const img = documento.querySelector('img');
if (img) foto = img.getAttribute('src') || '';
}
if (foto) {
try {
const fotoURL = new URL(foto, location.href);
if (fotoURL.protocol === 'https:' ||
fotoURL.protocol === 'http:') {
imagen.src = fotoURL.href;
imagen.hidden = false;
}
} catch (e) {}
}
})
.catch(function () {
titulo.textContent = 'Consulta las noticias destacadas en portada';
enlace.href = 'https://www.noticiasdealmeria.com/';
imagen.hidden = true;
});
}
cargarPortada();
window.setInterval(cargarPortada, 5 * 60 * 1000);
})();
Así que si estas interesado en conocerlos, puedes ver más sobre radiadores eléctricos en los sitios web focalizados en el tema.
Hay modelos de radiadores eléctricos que están diseñados para ser colgados en la pared y en lugares estratégicos dentro de la estancia, lo cual garantiza sus prestaciones vinculadas a la eficiencia energética, de hecho están dotados de tecnología que apunta al ahorro energético tan necesario en la actualidad.
.nda-portada-widget {
display: block;
width: 100%;
box-sizing: border-box;
margin: 24px 0;
border: 2px solid #f58220;
border-radius: 5px;
overflow: hidden;
background: #fff;
font-family: Arial, Helvetica, sans-serif;
}
.nda-portada-cabecera {
background: #f58220;
color: #fff;
padding: 11px 14px;
font-size: 17px;
font-weight: 800;
letter-spacing: .5px;
line-height: 1.3;
}
.nda-portada-contenido {
display: flex;
align-items: center;
gap: 14px;
padding: 13px;
color: #222 !important;
text-decoration: none !important;
background: #fff;
transition: background .2s ease;
}
.nda-portada-contenido:hover {
background: #fff5ec;
}
.nda-portada-contenido img {
display: block;
width: 34%;
max-width: 190px;
height: 110px;
object-fit: cover;
flex-shrink: 0;
border-radius: 3px;
}
.nda-portada-contenido img[hidden] {
display: none;
}
.nda-portada-texto {
display: flex;
flex-direction: column;
gap: 9px;
min-width: 0;
}
#nda-portada-titular {
font-size: 18px;
font-weight: 700;
line-height: 1.35;
}
.nda-portada-leer {
color: #e76f00;
font-size: 13px;
font-weight: 700;
}
@media (max-width: 480px) {
.nda-portada-contenido {
gap: 10px;
padding: 10px;
}
.nda-portada-contenido img {
width: 36%;
height: 88px;
}
#nda-portada-titular {
font-size: 15px;
}
.nda-portada-cabecera {
font-size: 15px;
}
}
(function () {
const rss = 'https://www.noticiasdealmeria.com/rss/tag/principal-2';
const titulo = document.getElementById('nda-portada-titular');
const enlace = document.getElementById('nda-portada-enlace');
const imagen = document.getElementById('nda-portada-imagen');
function textoDe(elemento, nombre) {
const nodo = elemento.getElementsByTagName(nombre)[0];
return nodo ? nodo.textContent.trim() : '';
}
function cargarPortada() {
fetch(rss, { cache: 'no-cache' })
.then(function (respuesta) {
if (!respuesta.ok) throw new Error('RSS no disponible');
return respuesta.text();
})
.then(function (xmlTexto) {
const xml = new DOMParser().parseFromString(
xmlTexto, 'text/xml'
);
if (xml.querySelector('parsererror')) {
throw new Error('RSS no válido');
}
const noticia = xml.querySelector('item');
if (!noticia) throw new Error('No hay noticias');
const titular = textoDe(noticia, 'title');
const url = textoDe(noticia, 'link');
if (!titular || !url) throw new Error('Noticia incompleta');
const destino = new URL(url, location.href);
if (destino.origin !== location.origin) {
throw new Error('Enlace de noticia no válido');
}
titulo.textContent = titular;
enlace.href = destino.href;
let foto = '';
const contenido = noticia.getElementsByTagNameNS(
'*', 'content'
)[0];
const enclosure = noticia.querySelector('enclosure');
if (contenido) {
foto = contenido.getAttribute('url') || '';
}
if (!foto && enclosure) {
foto = enclosure.getAttribute('url') || '';
}
if (!foto) {
const descripcion = textoDe(noticia, 'description');
const documento = new DOMParser().parseFromString(
descripcion, 'text/html'
);
const img = documento.querySelector('img');
if (img) foto = img.getAttribute('src') || '';
}
if (foto) {
try {
const fotoURL = new URL(foto, location.href);
if (fotoURL.protocol === 'https:' ||
fotoURL.protocol === 'http:') {
imagen.src = fotoURL.href;
imagen.hidden = false;
}
} catch (e) {}
}
})
.catch(function () {
titulo.textContent = 'Consulta las noticias destacadas en portada';
enlace.href = 'https://www.noticiasdealmeria.com/';
imagen.hidden = true;
});
}
cargarPortada();
window.setInterval(cargarPortada, 5 * 60 * 1000);
})();
Lo importante es instalarlos en las posiciones recomendadas y guardando las correspondientes distancias entre sí con el propósito de que la convección natural se lleve a cabo de manera adecuada.
Por lo tanto lo recomendable es que delegues esta instalación en los profesionales en la materia.
.nda-portada-widget {
display: block;
width: 100%;
box-sizing: border-box;
margin: 24px 0;
border: 2px solid #f58220;
border-radius: 5px;
overflow: hidden;
background: #fff;
font-family: Arial, Helvetica, sans-serif;
}
.nda-portada-cabecera {
background: #f58220;
color: #fff;
padding: 11px 14px;
font-size: 17px;
font-weight: 800;
letter-spacing: .5px;
line-height: 1.3;
}
.nda-portada-contenido {
display: flex;
align-items: center;
gap: 14px;
padding: 13px;
color: #222 !important;
text-decoration: none !important;
background: #fff;
transition: background .2s ease;
}
.nda-portada-contenido:hover {
background: #fff5ec;
}
.nda-portada-contenido img {
display: block;
width: 34%;
max-width: 190px;
height: 110px;
object-fit: cover;
flex-shrink: 0;
border-radius: 3px;
}
.nda-portada-contenido img[hidden] {
display: none;
}
.nda-portada-texto {
display: flex;
flex-direction: column;
gap: 9px;
min-width: 0;
}
#nda-portada-titular {
font-size: 18px;
font-weight: 700;
line-height: 1.35;
}
.nda-portada-leer {
color: #e76f00;
font-size: 13px;
font-weight: 700;
}
@media (max-width: 480px) {
.nda-portada-contenido {
gap: 10px;
padding: 10px;
}
.nda-portada-contenido img {
width: 36%;
height: 88px;
}
#nda-portada-titular {
font-size: 15px;
}
.nda-portada-cabecera {
font-size: 15px;
}
}
(function () {
const rss = 'https://www.noticiasdealmeria.com/rss/tag/principal-2';
const titulo = document.getElementById('nda-portada-titular');
const enlace = document.getElementById('nda-portada-enlace');
const imagen = document.getElementById('nda-portada-imagen');
function textoDe(elemento, nombre) {
const nodo = elemento.getElementsByTagName(nombre)[0];
return nodo ? nodo.textContent.trim() : '';
}
function cargarPortada() {
fetch(rss, { cache: 'no-cache' })
.then(function (respuesta) {
if (!respuesta.ok) throw new Error('RSS no disponible');
return respuesta.text();
})
.then(function (xmlTexto) {
const xml = new DOMParser().parseFromString(
xmlTexto, 'text/xml'
);
if (xml.querySelector('parsererror')) {
throw new Error('RSS no válido');
}
const noticia = xml.querySelector('item');
if (!noticia) throw new Error('No hay noticias');
const titular = textoDe(noticia, 'title');
const url = textoDe(noticia, 'link');
if (!titular || !url) throw new Error('Noticia incompleta');
const destino = new URL(url, location.href);
if (destino.origin !== location.origin) {
throw new Error('Enlace de noticia no válido');
}
titulo.textContent = titular;
enlace.href = destino.href;
let foto = '';
const contenido = noticia.getElementsByTagNameNS(
'*', 'content'
)[0];
const enclosure = noticia.querySelector('enclosure');
if (contenido) {
foto = contenido.getAttribute('url') || '';
}
if (!foto && enclosure) {
foto = enclosure.getAttribute('url') || '';
}
if (!foto) {
const descripcion = textoDe(noticia, 'description');
const documento = new DOMParser().parseFromString(
descripcion, 'text/html'
);
const img = documento.querySelector('img');
if (img) foto = img.getAttribute('src') || '';
}
if (foto) {
try {
const fotoURL = new URL(foto, location.href);
if (fotoURL.protocol === 'https:' ||
fotoURL.protocol === 'http:') {
imagen.src = fotoURL.href;
imagen.hidden = false;
}
} catch (e) {}
}
})
.catch(function () {
titulo.textContent = 'Consulta las noticias destacadas en portada';
enlace.href = 'https://www.noticiasdealmeria.com/';
imagen.hidden = true;
});
}
cargarPortada();
window.setInterval(cargarPortada, 5 * 60 * 1000);
})();
Otra característica que ofrecen algunos modelos de radiadores de última tecnología es una pantalla en la que se despliega información de interés, como la temperatura seleccionada.