Giter Site home page Giter Site logo

hexo-generator-seo-friendly-sitemap's People

Contributors

alexmufatti avatar dailyrandomphoto avatar f213 avatar jeno5980515 avatar ludoviclefevre avatar ludoviclefevrehubstairs avatar ntalbs avatar tiger3018 avatar vhf avatar xaoxuu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hexo-generator-seo-friendly-sitemap's Issues

custom layout pages missing from sitemap

As a side-effect from #2, any page that is not a post and doesn't use the page layout doesn't show up in the sitemaps.

This is a problem whenever custom layouts are defined.

Using the following check here should solve the problem:

if (page.layout === 'false') {

instead of

if (page.layout !== 'page') {

URLs in sitemap should be lowercase

Google Search Console is reporting a URL on my site as indexed, not submitted in sitemap. The URL is in the sitemap but in title case, which I'm guessing Google doesn't care for.

It feels like it wouldn't hurt for the generator to output everything in lowercase, or is that naive? Could it be an option?

use canonical urls

While my page is served at e.g. http://example.com/contact/, the sitemap references http://example.com/contact/index.html (notice the extra index.html).

Is there any way around this?

sitemap error

The webmaster is always showing errors after submitting

Consider supporting posts without updated field

When updated filed is missing from post front-matter, the post object will have updated field generated automatically.

However, the updated field will be dropped if updated_option is set to empty. This is useful for most short post, which won't be updated again after creation, and themes can decide to hide "updated" information when rendering the post.

Currently this plugin assumes that posts always have updated fields (checking the implementation of post lastmod and tag/category lastmod). It will be great if we can remove this prerequisite. :D

References:

The low severity vulnerability dependencies

Is the project still maintaining? When I run npm audit I get this log:


                       === npm audit security report ===


                                 Manual Review
             Some vulnerabilities require your attention to resolve

          Visit https://go.npm.me/audit-guide for additional guidance


  Low             Regular Expression Denial of Service

  Package         moment

  Patched in      >=2.19.3

  Dependency of   hexo-generator-seo-friendly-sitemap

  Path            hexo-generator-seo-friendly-sitemap > moment

  More info       https://nodesecurity.io/advisories/532

found 1 low severity vulnerability in 7810 scanned packages
  1 vulnerability requires manual review. See the full report for details.

SiteMap URL

Hi, I am new to sitemaps.
Using this plugin generated a several files. What are they for?
Also, I have no idea how to let the generator generates the right URL to replace your site.

    <sitemap>
        <loc>http://yoursite.com/post-sitemap.xml</loc>
        <lastmod>2016-04-19T01:19:19.000Z</lastmod>

Update lodash to v4.17.21 (or latest)

Need to update lodash (https://github.com/lodash/lodash) dependency due to critical vulnerabilities.

"dependencies": {
"bluebird": "3.5.4",
"ejs": "2.6.1",
"lodash": "4.17.12",
"moment": "2.24.0",
"pretty-data": "0.40.0",
"url-join": "4.0.0"
},

Reference

the post-sitemap.xml is error

image

this a part content of post-sitemap.xml

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="sitemap.xsl"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc>http://cocofe.cn</loc>
        <changefreq>daily</changefreq>
        <priority>1</priority>
    </url>

    <url>
        <loc>http://cocofe.cn/2017/07/25/%E5%90%8C%E6%97%B6%E5%9C%A8%E4%B8%80%E4%B8%AA%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E9%83%A8%E7%BD%B2%E5%A4%9A%E4%B8%AAFlask%E5%BA%94%E7%94%A8/</loc>
        <lastmod>2017-07-25T01:58:33.979Z</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>

    </url>

    <url>
        <loc>http://cocofe.cn/2016/11/16/%E6%B7%BB%E5%8A%A03d-%E7%90%83%E7%8A%B6%E6%A0%87%E7%AD%BE/</loc>
        <lastmod>2017-07-21T14:35:16.055Z</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>

    </url>

    <url>
        <loc>http://cocofe.cn/2017/07/18/%E7%AC%AC%E5%8D%81%E4%B8%80%E7%AB%A0%20%E6%8C%81%E6%9C%89%E5%AF%B9%E8%B1%A1/</loc>
        <lastmod>2017-07-18T05:27:07.850Z</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>

    </url>

    <url>
        <loc>http://cocofe.cn/2016/07/25/%E4%B8%BAhexo%E5%A2%9E%E5%8A%A0%E6%96%87%E7%AB%A0%E5%AD%97%E6%95%B0%E7%BB%9F%E8%AE%A1%E5%8A%9F%E8%83%BD/</loc>
        <lastmod>2017-07-17T02:49:39.147Z</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>

    </url>

    <url>
        <loc>http://cocofe.cn/2017/06/08/Latex%E5%85%A5%E9%97%A8/</loc>
        <lastmod>2017-07-17T02:42:28.621Z</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>

    </url>

    <url>
        <loc>http://cocofe.cn/2017/06/22/Python%20%E5%87%BD%E6%95%B0%E5%8F%82%E6%95%B0%E4%BC%A0%E5%80%BC%20or%20%E4%BC%A0%E5%BC%95%E7%94%A8/</loc>
        <lastmod>2017-07-13T04:19:53.223Z</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>

    </url>

    <url>
        <loc>http://cocofe.cn/2017/07/11/3Sum/</loc>
        <lastmod>2017-07-11T08:23:02.157Z</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>

    </url>

    <url>
        <loc>http://cocofe.cn/2017/07/09/Roman%20to%20Integer/</loc>
        <lastmod>2017-07-09T13:53:01.036Z</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>

    </url>

this is my sitemap address: cocofe.cn/sitemap.xml

Support for i18n

I was wondering if you have any plans on adding support for i18n in the generated sitemap. As of now I'm running https://github.com/Jamling/hexo-generator-i18n to generate all of the language files for our site but they do not show up in the generated sitemap.

Don't List JS Files

There are some .js files showing up in page-sitemap.xml. Could you create a way to exclude certain extensions? Do you know why JS files are being shown in the first place?

關於sitemap提交

這個插件生成後的 sitemap.xml 是一個地圖索引
那還是直接提交這個 sitemap.xml 到站長平臺麽?
還是要將 索引 内的幾個xml 分別提交?

Update lodash to v 4.17.12

Hi all,

is it possible to update one of the dependencies 'lodash' to version '4.17.12' as a patch was released to fix prototype pollution

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.