Databases Reference
In-Depth Information
Name:
ClariFit RSS Reader
Internal Name:
COM.CLARIFIT.APEXPLUGIN.RSS_READER
Type:
Region
Next, create a directory to store and reference external web files. This will allow you to easily make
modifications as you build your plug-in. Here are the steps:
1.
Create a directory called c:\www\RSSReader
2.
Modify the plug-in. In the Settings region set the
File Prefix
to
http://localhost/RSSReader/
3.
Click the Apply Changes button to save your changes.
Scroll down to the Standard Attributes section and check off the has "Escape Special Characters"
Attribute option as shown in Figure 5-12. Click the Apply Changes button to save your change. In this
plug-in, the
Escape Special Characters
attribute will be used to escape the RSS feed content (if enabled in
region). The RSS feed URL will be defined by a custom attribute rather than the region source.
Figure 5-12. Region plug-in standard attributes
Since this plug-in does not require a traditional “Region Source,” such as an SQL query or some
plain text, you do not need to check those boxes off. If you create a plug-in that requires the user to enter
a SQL query as the region source, you can parse the query using the
APEX_PLUGIN_UTIL.GET_DATA
and
APEX_PLUGIN_UTIL.GET_DATA2 function
. For more information, please refer to the APEX API
documentation.
Custom Attributes
The following are the custom attributes that the plug-in will use. These attributes are based on the
requirements. Specify the attributes for the region using the dialog shown in Figure 5-14, following the
list.
•
Scope: Component
Attribute:1
Label: RSS Type
Type: Select List
Required: Yes
Default Value: Blogger