The RSS feed feature of TGPX will allow you to setup and manage URLs to RSS feeds and in turn automatically extract gallery information from those RSS feeds. This document will describe how to add RSS feeds and extract the gallery information from those feeds.
Searching RSS Feeds
To view the currently configured RSS feeds so you can modify or delete them, access the Galleries > Import From RSS function from the control panel menu. This will display a page where you will be able to see all of the currently configured RSS feeds, and search them if necessary.
In the table that displays the RSS feeds, you will find several functions that you can run on a single feed. Each of those functions are described below.
|Click this icon to import galleries from this RSS feed|
|Click this icon to edit the feed settings. A window will appear where you will be able to edit all of the feed settings.|
|Click this icon to delete this RSS feed.|
Adding a RSS Feed
To add a new RSS feed access the Galleries > Import From RSS function from the control panel menu. Near the top of the page in the header bar that reads "Configured RSS Feeds" click on the icon. This will display a popup window where you will be able to enter the feed information that you want to use. Each of the form fields are described below.
|RSS Feed URL||Enter the full URL to the RSS feed|
Select the sponsor that this RSS feed should be associated with. You can also choose to create a new sponsor if you like; in that case a text input box
will appear where you can enter the sponsor name.
The field that allows you to enter the sponsor name also accepts a special format:
Sponsor Name|Sponsor URL
Using this format you can quickly add both the sponsor name and the URL to the sponsor's website.
|Access This Feed||Press this button to have the software access the feed and display the first item that it extracts from the feed. This will assist you in configuring the next 4 fields.|
|Gallery URL From||Select the XML tag from the RSS feed that contains the gallery URL|
|Description From||Select the XML tag from the RSS feed that contains the gallery description. The software will automatically strip out any HTML code, so you can safely select tags that contain more than just plain text.|
|Date Added From||Select the XML tag from the RSS feed that contains the date the gallery was added. You can also select SKIP if you would like the software to automatically assign the added date when the gallery is actually added to your database.|
|Preview Thumb From||Select the XML tag from the RSS feed that contains the URL to an already existing preview thumbnail. The software will automatically be able to find the URLs to images within the tag, so you can select any tag that contains the URL to an image (even if it is embedded in HTML code).|
|Status||Select the status to assign to all of the imported galleries.|
|Type||Select the type to assign to the imported galleries.|
|Format||Select the format to assign to the imported galleries.|
|Category||Select the category to assign to the imported galleries.|
Editing a RSS Feed
To edit a RSS feed you will first need to locate it through the RSS Feed Searching interface. When you locate the feed you want to edit, click on the icon to bring up the feed editing interface. This interface is nearly identical to the feed creation interface, and has the same form fields with the same properties. You can make the changes that you want, and then press the Update RSS Feed button to save your changes.
Deleting a RSS Feed
To delete a RSS feed you will first need to locate it through the RSS Feed Searching interface. When you locate the feed you want to delete, click on the icon, which will ask you to confirm the deletion.
You can also delete several feeds at once by putting a check in the box next to the feeds that you want to delete, then pressing the Delete button at the bottom of the page.
Getting Galleries From Your Feeds
Once you have configured at least one RSS feed, you can begin importing galleries at any time. There are two ways to import galleries from your RSS feeds:
- Through the Galleries > Import From RSS interface you can click on the icon for the RSS feed from which you wish to import galleries.
- To import galleries in bulk from all of your RSS feeds, you can run the gallery scanner with the Import galleries from your configured RSS feeds before scanning option enabled. When this is enabled, the gallery scanner will access all of your RSS feeds and import any new galleries before it starts scanning.
No matter how you choose to import galleries from your RSS feeds, the software will always grab the entire feed and check it for galleries that you already have in your database. It will only import galleries that are not already in your database, so you don't have to worry about getting duplicates if you run the import function multiple times.
Keep in mind that the amount of new galleries you get from your RSS feeds will depend on who is maintaining those feeds. If a feed does not get updated very often, it could be weeks or months before new galleries are available!