{"action":"created","issue":{"url":"https://api.github.com/repos/modus75/piwigo-sitemap/issues/4","repository_url":"https://api.github.com/repos/modus75/piwigo-sitemap","labels_url":"https://api.github.com/repos/modus75/piwigo-sitemap/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/modus75/piwigo-sitemap/issues/4/comments","events_url":"https://api.github.com/repos/modus75/piwigo-sitemap/issues/4/events","html_url":"https://github.com/modus75/piwigo-sitemap/issues/4","id":310775416,"number":4,"title":"Make sitemap compatible with multisite","user":{"login":"plegall","id":9326959,"avatar_url":"https://avatars1.githubusercontent.com/u/9326959?v=4","gravatar_id":"","url":"https://api.github.com/users/plegall","html_url":"https://github.com/plegall","followers_url":"https://api.github.com/users/plegall/followers","following_url":"https://api.github.com/users/plegall/following{/other_user}","gists_url":"https://api.github.com/users/plegall/gists{/gist_id}","starred_url":"https://api.github.com/users/plegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plegall/subscriptions","organizations_url":"https://api.github.com/users/plegall/orgs","repos_url":"https://api.github.com/users/plegall/repos","events_url":"https://api.github.com/users/plegall/events{/privacy}","received_events_url":"https://api.github.com/users/plegall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-03T10:14:09Z","updated_at":"2018-04-03T13:57:15Z","closed_at":null,"author_association":"NONE","body":"Hi @modus75 \r\n\r\nI wonder how it would be possible to make this plugin compatible with a multiple site install of Piwigo, like we have on Piwigo.com. Writing a sitemap.xml at the root of the Piwigo install obviously is a problem. Writing sitemap.xml outside root is also a problem, because you can't reference URLs outside the subdirectory of the sitemap.xml\r\n\r\nThe only solution I see would be to have a logical web server alias on sitemap.xml and physical file location would depend on nginx/apache configuration of each site."},"comment":{"url":"https://api.github.com/repos/modus75/piwigo-sitemap/issues/comments/378259152","html_url":"https://github.com/modus75/piwigo-sitemap/issues/4#issuecomment-378259152","issue_url":"https://api.github.com/repos/modus75/piwigo-sitemap/issues/4","id":378259152,"user":{"login":"plegall","id":9326959,"avatar_url":"https://avatars1.githubusercontent.com/u/9326959?v=4","gravatar_id":"","url":"https://api.github.com/users/plegall","html_url":"https://github.com/plegall","followers_url":"https://api.github.com/users/plegall/followers","following_url":"https://api.github.com/users/plegall/following{/other_user}","gists_url":"https://api.github.com/users/plegall/gists{/gist_id}","starred_url":"https://api.github.com/users/plegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plegall/subscriptions","organizations_url":"https://api.github.com/users/plegall/orgs","repos_url":"https://api.github.com/users/plegall/repos","events_url":"https://api.github.com/users/plegall/events{/privacy}","received_events_url":"https://api.github.com/users/plegall/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T13:57:15Z","updated_at":"2018-04-03T13:57:15Z","author_association":"NONE","body":"OK, good idea. For example we could have a $_SERVER['PIWIGO_SITEMAP_LOCATION'] relative to Piwigo installation."}}
{"actor":{"display_login":"plegall"}}