-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paginated Imports #39
Comments
Just a thought, not sure if it's related: Couldn't the pagination option be used for throttling which would be useful for large imports? |
Yes that's more or less the idea. But I'm not sure how throttling would I have over 100k entries to import in a particular section and looking to On 8 January 2015 at 14:39, Nils Hörrmann [email protected] wrote:
|
Might be worthwhile seeing what the Import CSV or Resave Entries does to paginate through entries. |
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. I think as long as we return the page, and the error messages to show to the user the approach seems fine. |
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.
If the condition matches it should show on the front end a link to import the next page.
example xpath:
The 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.
@brendo any objection?
The text was updated successfully, but these errors were encountered: