RSS.xml pentru Google trebuie sa pun si link spre poze?
Last Updated: May 24 2023 17:00, Started by
me_suzy
, May 24 2023 11:29
·
1
#1
Posted 24 May 2023 - 11:29
salut, am un Rss.xml pe care permanent il indexez la google Webmaster. Pe scurt, asa am pus eu linkurile care se termina in html.
<url> <loc>https://neculaifantanaru.com/ca-sa-vezi-si-sa-nu-vezi.html</loc> <lastmod>2018-11-30T17:19:37+00:00</lastmod> <changefreq>weekly</changefreq> <priority>0.6400</priority> </url> <url> <loc>https://neculaifantanaru.com/principiul-vederii-de-dincolo-de-vaz.html</loc> <lastmod>2018-11-30T17:19:37+00:00</lastmod> <changefreq>weekly</changefreq> <priority>0.6400</priority> </url> Intrebare: La un link de forma https://mywebsite.com/poze.html deci care contine poze, trebuie sa adaug in rss.xml si link-rile directe catre poze, de exemplu: <url> <loc>https://mywebsite.com/index_files/poza_1.jpg</loc> <lastmod>2018-11-30T17:19:37+00:00</lastmod> <changefreq>weekly</changefreq> <priority>0.6400</priority> </url> Edited by me_suzy, 24 May 2023 - 11:35. |
#2
Posted 24 May 2023 - 12:32
https://developers.g.../image-sitemaps
la care mai poti adauga lastmod pentru pagina Edited by tigerheart, 24 May 2023 - 12:44. |
#3
Posted 24 May 2023 - 13:47
#4
Posted 24 May 2023 - 14:05
Quote How to set the lastmod? To set the "lastmod" tag in your sitemap, you'll need to include it in the <url> tag for each page that you want to include in your sitemap. This date should be in W3C Datetime format. Most common format used are the ones specifying the date YYYY-MM-DD (example 2022-12-28) and the ones specifying date and time YYYY-MM-DDThh:mm:ssTZD (example 2022-12-19T17:15:30+01:00) , and it should be set to the date that the page was last modified. Also, the "lastmod" tag should be regularly updated when the page is updated for search engines to understand the frequency of updates. To ensure this, it is recommended to generate your sitemaps at least daily. Pe Wordpress de ex. se foloseste: Quote <lastmod>2023-XX-XXT10:22:51+00:00</lastmod> Vezi ca sunt si generatoare online care iti scaneaza site-ul si la final poti descarca xml-ul, dar nu cred ca au si partea de imagini, plus ca unele au limite de genul max. 500 link-uri in xml. |
#5
Posted 24 May 2023 - 17:00
thanks. Da, se poate cu Python genera automat sitemap xml la oricate pagini vrei.
Dar partea cu <lastmod> nu o stiam. https://neculaifanta...html-files.html <lastmod>2023-01-23</lastmod> Exemplu: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://www.example.com/</loc> <lastmod>2023-01-23</lastmod> </url> <url> <loc>http://www.example.com/catalog?loc=vacation_jupiter</loc> <lastmod>2023-01-23</lastmod> </url> <url> <loc>http://www.example.com/catalog?loc=vacation_mars</loc> <lastmod>2023-01-23</lastmod> </url> </urlset> |
Anunturi
Bun venit pe Forumul Softpedia!
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users