GitHub user jorgelbg opened a pull request: https://github.com/apache/nutch/pull/175
Fix for NUTCH-2353 contributed by jorgelbg This PR adds the possibility of adding metadata to the seed file created using the REST API as showed on https://issues.apache.org/jira/browse/NUTCH-2353, the supported syntax is: ```json { "name":"name-of-seedlist", "seedUrls":[ { "url" : "http://example.com", "metadata" : { "key1" : "value1", "key2" : "value2", "key3" : "value3" } } ] } ``` Also the old syntax is supported: ```json { "name":"name-of-seedlist", "seedUrls":["http://www.example.com", "http://www.example1.com"] } ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/jorgelbg/nutch NUTCH-2353 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nutch/pull/175.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #175 ---- commit 7deb576bc58bb74725cbb6c5d82d7b9244c6ad42 Author: Jorge Luis Betancourt <jlbetanco...@uci.cu> Date: 2017-01-20T21:13:45Z Fix for NUTCH-2353 contributed by jorgelbg ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---