{"action":"created","issue":{"url":"https://api.github.com/repos/symphonists/xmlimporter/issues/39","labels_url":"https://api.github.com/repos/symphonists/xmlimporter/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/symphonists/xmlimporter/issues/39/comments","events_url":"https://api.github.com/repos/symphonists/xmlimporter/issues/39/events","html_url":"https://github.com/symphonists/xmlimporter/issues/39","id":53749467,"number":39,"title":"Paginated Imports","user":{"login":"jonmifsud","id":859775,"avatar_url":"https://avatars.githubusercontent.com/u/859775?v=3","gravatar_id":"","url":"https://api.github.com/users/jonmifsud","html_url":"https://github.com/jonmifsud","followers_url":"https://api.github.com/users/jonmifsud/followers","following_url":"https://api.github.com/users/jonmifsud/following{/other_user}","gists_url":"https://api.github.com/users/jonmifsud/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmifsud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmifsud/subscriptions","organizations_url":"https://api.github.com/users/jonmifsud/orgs","repos_url":"https://api.github.com/users/jonmifsud/repos","events_url":"https://api.github.com/users/jonmifsud/events{/privacy}","received_events_url":"https://api.github.com/users/jonmifsud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-08T13:19:56Z","updated_at":"2015-01-09T16:37:23Z","closed_at":null,"body":"As of XML Importer v 3 (currently integration) one can pass url parameters to the importer itself which can be used for things such as pagination. I think it would be nice if there's an option to determine the pagination variable (if any) along with an xpath which determines if there's a next page or not.\r\n\r\nIf the condition matches it should show on the front end a link to import the next page.\r\n\r\nexample xpath:\r\n\r\n    /data/datasource/pagination/@current-page !=  /data/datasource/pagination/@total-pages\r\n\r\nThe user can then use the judgment to determine if they import the next page or not. Would be nice to give the option to automate the process through some Javascript but not necessary I presume. Willing to implement myself.\r\n\r\n@brendo any objection? "},"comment":{"url":"https://api.github.com/repos/symphonists/xmlimporter/issues/comments/69359786","html_url":"https://github.com/symphonists/xmlimporter/issues/39#issuecomment-69359786","issue_url":"https://api.github.com/repos/symphonists/xmlimporter/issues/39","id":69359786,"user":{"login":"jonmifsud","id":859775,"avatar_url":"https://avatars.githubusercontent.com/u/859775?v=3","gravatar_id":"","url":"https://api.github.com/users/jonmifsud","html_url":"https://github.com/jonmifsud","followers_url":"https://api.github.com/users/jonmifsud/followers","following_url":"https://api.github.com/users/jonmifsud/following{/other_user}","gists_url":"https://api.github.com/users/jonmifsud/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmifsud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmifsud/subscriptions","organizations_url":"https://api.github.com/users/jonmifsud/orgs","repos_url":"https://api.github.com/users/jonmifsud/repos","events_url":"https://api.github.com/users/jonmifsud/events{/privacy}","received_events_url":"https://api.github.com/users/jonmifsud/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T16:37:23Z","updated_at":"2015-01-09T16:37:23Z","body":"Resave Entries does it all through Javascript hitting the same page via Ajax. When the resave entry triggers, it returns back a json with the status rather than the full page.\r\n\r\nI think as long as we return the page, and the error messages to show to the user the approach seems fine."}}