Translations of this page:

Import Sets

Various sponsors provide URLs in various formats: RSS (and some sponsors use nonstandard fields), XML, dump. Before update 47 you could add only standard RSS feed and It was inconvenient for automatic feeding of you site. Import Set introduced for take care of this. With Import Sets you can automatically import galleries from virtually any source with any options including Custom Galleries, additional thumbs and so on.

How it works: Rotation - Import Sets, click “Add New”. It opens the Import form with only few exceptions: input field for feed url (RSS, dump, XML), period of regrab, type of grab and delimiter. So type url to your gallery dump for example, click test, select what you want to import from this dump, select options as with regular import and click save. Script will import data from this dump every X hours.

Hints

  • Sometimes there's no direct URL to thumb in RSS and it looks like “some text <img src=….>”. Select “Parse Thumb”, not “Thumb” in such cases.
  • Delimiter - a division of the fields, it usually '|' for dumps, for RSS 'item' or 'video'
  • Description (Strip tags) use it if RSS have something like <a href='…'> Some Description </a> while you need only Some Description.

Note: there are 2 types of import sets: Add and Delete. So urls found in Add type - will be added to DB, in type = delele - will be deleted from DB.

 
import_sets.txt · Last modified: 2011/11/29 19:30 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki