Giter Club home page Giter Club logo

googlesitemap's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

googlesitemap's Issues

Settings GoogleSiteMap are not saved in ModX 2.1.3

When adjusting the height, width or any other setting the new settings take affect but within the TV the setting keep having their old, initial, settings. Next time u save them they will be set to their original value.

excludeChildrenOf

Could we add this option excludeChildrenOf

In Revolution sites i've got loads of resources that aren't present as web pages, but just as resources in a supporting capacity.

Thanks

Revo 2.2 rc2. GoogleSiteMap outputs only first level of resources

Hi! Problem is that, when I'm calling GoogleSiteMap on my page it outputs only one (first) level of resources. I tried to get another, positive, result with both local and remote installations of Revo, but without any success. It seems It's not a rc2 thing. This problem already appeared for me in nightly builds of Revo 2.2 about two of three weeks ago. With Revo 2.1.x your snippet still works fine.

Using allowedtemplates parameter doesnt output anything but a homepage link.

I am having a problem. If I call it as simple as [[!GoogleSitemap]], everything shows up, which means it is working. But I need to include selective templates/resources in the sitemap, thus I created this:

[[!GoogleSitemap? &allowedtemplates=3,5,2,15,21,7,8,9]]

It only shows the homepage link, a single link in the sitemap and nothing else.

Any clues?

Its on Revo 2.0.7

http://screencast.com/t/wIZP5JQup

It looks like as soon as I add something in the allowedtemplates, it stops working.

Tried all sorts of combinations etc.

showHidden property

In 1.3.1 version hidden from menu Resources dont show up in sitemap.xml. Ive tried to change Default Property Set, MyCustom property Set - didn`t help either.

Exclude Weblinks

Thank you for this great snippet and your many others! Our site has many weblinks that redirect to external resources. This causes Google to throw errors on the sitemap. A feature that enables exclusion of weblinks would be very useful.

Articles Support

It would be nice if articles pages were included in the sitemap. They currently aren't included when using a default call.

Can't use Google directions with GoogleSiteMap

Would be nice if there was functional way to use Google directions. For instance: Directions: Yes and a new field where you specify the "to" adress.

Maybe directions ain't working due to the other issue i submited that settings are not saved.

Sitemap falls over on non-published resources

noticed that the sitemap creates an empty element for resources that are not published yet. This then causes the sitemap to fail in Google and show the dreaded red cross (in the webmaster tools)

Sitemap not showing/rendering in IE7/8/9

By adjusting the gtv.js

,isArray: function(v) {
return toString.apply(v) === '[object Array]';
}

replaced with:

,isArray: function(v) {
//check if v is an object as an array is an object
if (typeof v == "object")
{
//check the string value of the constructor for an array function
var isArray = v.constructor.toString().match(/array/i);
return ((isArray != null)?true:false);
}
//not an object so not an array
return false;
//toString.apply(v) === '[object Array]';
}

Not show items hidden

It sholuld not return an item hidden from menu. I can't see option to do it and by default it list all resources

Create Site Map of specific resource id

There should be a param that allows to create a SiteMap of specific resource id.
Now I'm changing it in googlesitemap.class.php on private function _run($currentParent = 0,$selfId = -1) from currentParent = 0 to currentParent = ID

output resource's ID to &itemTpl chunk

To get more flexibility it could be great to have access to document's ID in &itemTpl chunk.

For example, I wanted to make sitemap.xml in this way: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=2620865. And then I needed access to resource's id to be sent to Babel plugin's snippet which I use already.

Another thing - Googlesitemap snippet used "full" schema in makeURL as default, while I needed "http" approach (where URL assembled with base_url (containing language shortcut i.e.) option for every frontend context).

It is as easy to add that feature as add one extra row to the googlesitemap.class.php source file (line 135)

            $output .= $this->getChunk($this->config['itemTpl'],array(
                'url' => $url,
                'date' => $date,
                'update' => $update,
                'priority' => $priority,
      'id'=> $id,

Thank you,
Ata

Make priority and change frequency parameters

Make priority and change frequency ($update in the snippet) parameters.
This would allow this two values to be overridden per page from the ones
calculated by the snippet itself.

searchable shouldn't inherit to child resources

  • some container (weblink, no-searchable, pointing to child resource)
    • child resource (document, searchable)

GoogleSiteMap 1.2pl doesn't list the child resource, but it should IMO.

Alternatively I tried to just exclude the weblink with excludeResources this will remove the child, as well.

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.