CaRP: Caching RSS Parser - Documentation
CaRP Interactive FAQ
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates
Channel Link
Evolution | LE | Koi | SE |
All | All | All | >=2.0 |
The channel title may be displayed either as plain text or as a hyperlink. To display it as plain text, include the word "title" in your cborder or caorder setting. To display it as a link, include the word "link" in your cborder or caorder setting. To display the URL of the link, but not as a link, refer to the channel URL page. Examples:
CarpConf('cborder','title,date,desc');or
CarpConf('cborder','link,date,desc');Display formatting options
The following options apply whether your are displaying the title as plain text or as a link:
- bctitle ("before channel link") : Specifies text and/or HTML to be displayed before the channel title or link.
- actitle ("after channel link") : Specifies text and/or HTML to be displayed after the channel title or link.
- maxctitle ("maximum channel link length") : Specifies the maximum number of characters (not including HTML tags) to output from the title. If maxctitle is zero ("0"), the entire title will be displayed, no matter how long.
- atruncctitle ("after truncated channel link") : Specifies text and/or HTML to append to the title if it is longer than maxctitle. Note that when truncating, maxctitle is reduced by the length of atruncctitle so that the total length is equal to maxctitle.
- clinktitles ("channel link titles") : Specifies whether to add a "title" attribute to the channel link, containing the entire channel title.
The primary purpose of this is to display the entire title as a "tool tip" if it has been trucated.
Specify one of the following values:
- 0: never insert a title attribute
- 1 (the default): if the channel title has been truncated because it was longer than maxctitle
- 2: always insert a title attribute
- clink_attrs ("channel link attributes") : [CaRP >= 4.0 only] the contents of this setting will be output inside the channel title link tag. It can be used to, for example, add ' rel="nofollow"' to the channel link.
- clinkclass ("channel link CSS class") : CSS class(es) to apply to the channel link or title
- clinkstyle ("channel link CSS style") : CSS styling to apply to the channel link or title
- linktarget ("link target") : Specifies which window or frame to open links in.
Specify one of the following values:
- 0 (the default): the current window (and frame, if in a frame set)
- 1: a new window
- 2: the same window, but ensure that it is not in a frame
- the name of a frame if in a frameset, or the name of a window (NOTE: the name must contain at least one character that is not a digit)
- clinktarget ("channel link target") : This setting has been replaced by the linktarget setting. In versions 3.1.1 to 3.6.4, this setting is supported for backwards compability. It has been removed from 4.0 and higher.
Example
CarpConf('caorder','link'); CarpConf('bctitle','<i>'); CarpConf('actitle','</i>'); CarpConf('maxctitle',100); CarpConf('atruncctitle','...'); CarpConf('clinktitles',0); CarpConf('clinkclass','myBigTextClassName'); CarpConf('clinkstyle','text-decoration:none;color:#03c;');