Template:CTA URL lists

From Archiveteam
Revision as of 02:56, 21 April 2023 by JustAnotherArchivist (talk | contribs) (Created page with "<includeonly>== How to help if you have lists of URLs == This project requires lists of URLs for content on the target website. If you have a source of URLs, please: # Use the regular expression <code>{{{regex}}}</code> for filtering. {{ #if: {{{broad|}}} | Note that this regex is intentionally broad to cover many different URL formats. Please do not try to use a more narrow pattern as it may miss valid URLs. We can always filter or transform the results as needed later...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Options:

  • regex, required, the PCRE-ish regular expression to use for filtering
  • broad, optional, adding an extra bit about the regex being intentionally broad if non-empty

Example:

{{CTA URL lists|regex = <nowiki>\S*(foo|bar)\S*</nowiki>|broad = yes}}

renders as:

How to help if you have lists of URLs

This project requires lists of URLs for content on the target website. If you have a source of URLs, please:

  1. Use the regular expression \S*(foo|bar)\S* for filtering. Note that this regex is intentionally broad to cover many different URL formats. Please do not try to use a more narrow pattern as it may miss valid URLs. We can always filter or transform the results as needed later.
  2. If the output exceeds a few megabytes, please compress it, preferably using zstd -10.
  3. Upload the file to https://transfer.archivete.am/.
  4. Share the resulting URL in the project IRC channel.

See also Category:Projects requiring URL lists for other ArchiveTeam projects that necessitate URL lists.