DOCUMENTATION

BACK TO MAIN

Contents: Installation:

All major installation steps do the tech support. You only need to setup crontab job.

    Let me say
  • xpowerlinks is installed in '/home/user/domain.com/' (change this to your installation directory).
  • it has correspondent URL http://www.domain.com/
    To update channels once per day at 11-00 AM, crontab line must be as following:
  • With usage of wget:
    11 0 * * * /usr/local/bin/wget -q -nv --delete-after 'http://www.domain.com/rss.php'
  • With usage of php CLI:
    11 0 * * * cd /home/user/domain.com; /usr/local/bin/php /home/user/domain.com/rss.php > /dev/null

Confgiuration:
    Meaning and examples of confgiuration fields
  • URL where Xpowerlinks is installed - (required). URL where X-Power Links is located. No any 'index.html' here.
    Example: http://www.yourdomain.com/
  • Folder to save static XML files - (required). A name of existent folder to save static XML files there.
    Example: rss
  • Number of links per feed - (required). Maximum number of last links in one RSS channel.
    Example: 50
  • channel title - (required). Your channel (website) title.
    Example: My wonderful link site
  • channel description - (required). Your channel (website) short description.
    Example: Site powered by X-Power Links
  • channel Copyright - Optional copyright.
    Example: Copyright © by Foo Bar
  • channel logo - Optional full URL to your website logo image. Following the RSS 2.0 standard, don't create logo with dimensions more than 144x400.
    Example: http://www.domain.com/logo.gif
  • channel language - your channel language
  • Index channel banner - You can define banner HTML code here which will be joined to each link description of index channel
  • Category channel banner - You can define banner HTML code here which will be joined to each link description of category channels. You can use placeholders here. They will be replaced by correspondent values of category fields (see Placeholders)
  • Global banner - You can define banner HTML code here which will be joined to each link description of ANY channel independent of previous two fields.
Using placeholders in 'Category channel banner':
Placeholder Value
{URL_FORMER} Category "URL former" field
{TITLE} Category title
{TITLE_TEXT} Category "Title Text" field
{HEADER_TEXT} Category "Header Text" field
{FIELD1} .. {FIELD3} Category "HTML-code #1" .. "HTML-code #3" fields
{INCLUDE_1} .. {INCLUDE_20} Include files from correspondent folder "xpl_includes_1".."xpl_includes_20".

Examples of 'Category channel banner':

A simple example. Get a banner code from context include file of correspondent category located at 'xpl_includes_1' folder

Get banner code from category field "HTML code #2":

A simple link to the correspondent category:

How to show RSS channel link on my pages?

Link to the index RSS channel would be:

Link to the RSS channel of correspondent category will be:


where {CATEGORY_NAME} - Category "URL former" field. For example, if a category "Soft" has URL former "soft", link to this category channel will be:

Putting link to index channel on a page. Open "Featured Section Layout >> Page Layout" template and paste in appropriate place following code (with variations)

To allow crawlers automatically detect your index channel, put the following HTML code between <HEAD>..</HEAD> tags in your "Featured Section Layout >> Page Layout" template

Putting link to category channel on a page. Open "Category Section Layout >> Page Layout" template and paste in appropriate place following code (with variations)

To allow crawlers automatically detect your category channels, put the following HTML code between <HEAD>..</HEAD> tags in your "Category Section Layout >> Page Layout" template

All have been installed, but channels show 404 error (Document not found):

There are several reasons

  • XML parser was not launched by cron yet and there are no generated XML files. Try to launch XML parser by pressing "Launch parser" button in admin section
  • Folder to save static XML doent exists or it has no write permission. Ensure that this folder is exists and has chmod 777