Headlines Plugin


This plugin displays RSS and ATOM feeds from news sites. Use it to build news portals that show headline news.

Note: Syndic8.com ( http://www.syndic8.com/ ) is a good site listing many RSS feeds.

Syntax Rules


Parameter Explanation Default
"..." source of RSS feed; this can be an url (starting with http) or a web.topic location for internal feeds None; is required
href="..." (Alternative to above) N/A
refresh="60" Refresh rate in minutes for caching feed; "0" for no caching Global REFRESH setting
limit="12" Maximum number of items shown Global LIMIT setting
header Header. Can include these variables: - $channeltitle, $title: title of channel (channel.title)
- $channellink, $link: link of channel (channel.link)
- $channeldescription, $description: description (channel.description)
- $channeldate, $date: publication date of the channel (channel.pubDate)
- $rights: copyrights of the channel (channel.copyright)
- $imagetitle: title text for site (image.title)
- $imagelink: link for site (image.link)
- $imageurl: URL of image (image.url)
- $imagedescription: description of image (image.description)
Global HEADER setting
format Format of one item. Can include these variables:
- $title: news item title (item.title)
- $link: news item link (item.link)
- $description: news item description (item.description)
- $date: the publication date (item.pubDate, item.date)
- $category: the article category (item.category)
Global FORMAT setting

The header and format parameters might also use variables rendering the dc, image and content namespace information. Note, that only bits of interest have been implemented so far and those namespaces might not be implemented fully yet.

Rendering the dc namespace

The following variables are extracting the dc namespace info, that could be used in header and format. Nnote, that some of the variables are already used above. This is done by purpose to use different feeds with the same formating parameters. If there's a conflict the non-dc tags have higher precedence, i.e. a <title> content </title> is prefered over <dc:title> content </dc:title> .

  • $title: channel/article title (dc:title)
  • $creator: channel creator (dc:creator)
  • $subject: subject text; this will also add an image according to the subject hash list, see above (dc:subject)
  • $description: ... (dc:description)
  • $publisher: the channel/article publisher (dc:publisher)
  • $contributor: ... (dc:contributor)
  • $date: ... (dc:date)
  • $type: ... (dc:type)
  • $format: ... (dc:format)
  • $identifier: ... (dc:identifier)
  • $source: ... (dc:source)
  • $language: ... (dc:language)
  • $relation: ... (dc:relation)
  • $coverage: ... (dc: coverage)
  • $rights: ... (dc: rights)

Rendering the image namespace

An image:item is converted into an <img> tag using the following mappings:

  • src: image url (rdf:about attribute of the image.item tag)
  • alt: image title (title)
  • width: image width (image:width)
  • height: image height image:height)

Rendering the content namespace

The variable $content is refering to the <content:encoding> content </content:encoding>.


Slashdot News


  header="*[[$link][$title]]:* $description" 
  format="$t* [[$link][$title]]"
to get the latest Slashdot news as a bullet list format:

Business Opportunities Weblog


%HEADLINES{"http://www.business-opportunities.biz/feed" limit="3"}%

to get the latest postings on the "Business Opportunities" weblog:

Tue, 11 Dec 2018 05:31:56 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Tue, 11 Dec 2018 05:31:56 +0000 Laurie Bennett
Image Credit: Alexas_Fotos on Pixabay

In this post, we answer the question, “What is a ULIP?”  Then we discuss how it works and leave you with the information to decide if it’s right for you.

To answer the question put forward above, “ULIP” stands for “unit-linked insurance plan.” It’s a product offered by insurance companies to give their customers a way to invest and purchase insurance simultaneously with an integrated plan. ULIPs are mainly available in India. US law currently discourages US citizens from purchasing these plans.

You may wish to purchase a ULIP because it can help to safeguard your business and your family while also allowing you to invest in order to reach your financial goals.


ULIPs Can Help You Achieve Your Financial Objectives

ULIPs are a worthwhile way to start investing in the equity market. That’s because ULIPs offer the combined benefit of investment along with insurance. Moreover, most offer a wide array of fund options for investing. Therefore, a ULIP can work well as a long-term investment instrument.

In order to gain maximum returns on your investment with a ULIP, just follow a few simple steps:

1. Optimize Asset Allocation

In order to allocate your assets properly, you need to evaluate your portfolio in terms of returns versus risks. By allocating your assets across various funds you can create a diverse portfolio and thereby balance out the risk.

One of the major benefits of optimizing your assets is that if a specific asset is going into loss then another class of asset can compensate for that. Therefore, you minimize your overall risk.

What’s more, you can choose the option of free switches. This will give you the ability to manage your fund more easily. Free switches can help you to make changes in your investments. For example, you might have some assets in cash. Others might be in debt and equity, depending on your specific financial goals.

2. Choose Between Equity and Debt Funds

Your tolerance for risk will help you determine your choices between equity and debt funds. Different fund options have different features of risk and returns. For instance, you can gain higher returns by investing in equity schemes. However, the risk factor will be high.

On the other hand, debt funds offer lower risk and create a strong portfolio. However, they also yield the lowest returns. In order to determine the balance in your portfolio between equity funds and debt funds, evaluate your appetite for risk along with your short-term and long-term financial requirements.

3. Know Your Life Stage Requirements

The balance of risk to return in your portfolio will vary according to your stage in life. In other words, a younger person will have a greater ability to absorb financial risk. Therefore, a younger person will have a greater “appetite” for risk.

As investors grow older, however, they need to consider more carefully the balance in their portfolios between investment profit and loss. Additionally, more mature individuals will naturally have more financial obligations, especially as they approach retirement age. Therefore, as you grow older, you should probably switch to less risky funds, such as debt.




4. Look for Semi-Controlled Switching Options

Many insurance buyers fail to actively monitor their fund’s performance. Others fail to manage their portfolios adequately. To address this tendency, insurance companies offer investors ULIP plans with semi-controlled fund management.

With this option, an investor’s funds are set to switch automatically according to predetermined instructions. You can also set semi-controlled switching to take place monthly. In other words, on a date that is predetermined by the insurance company, you can switch a fixed amount per month to another fund of your choice. You’ll be able to decide which fund option to take the predetermined amount from and which fund to switch it to.


Additional Features A ULIP Will Offer

Predetermined Charges

When an investor invests in a ULIP, a few predetermined charges will deducted. These charges include a policy administration charge, a fund management charge, a surrender charge, a mortality charge, and others.

Loyalty Additions

Some of the aforementioned charges are paid back to the policyholder as loyalty additions. Additionally, since a ULIP comes with a lock-in period of five years, it offers a higher return on your investment over an extended period of time.

Maturity Benefit

At the end of the policy, the maturity benefit will be paid to you in the form of the fund value.

Death Benefit

Since ULIPs are protection plans, they offer death benefits when a policyholder passes away during the policy tenure. The death benefit is either the value of the assured sum or the fund value, whichever is higher.


Over to You

According to investment experts, ULIPs offer an excellent fund management option because they help policyholders to accomplish their investment goals. That’s because they offer a variety of investment strategies that can help to generate maximum return on policyholders’ investments.

Moreover, the versatile features of ULIPs offer myriad benefits. These include high returns, tax savings, life coverage, switching between funds, investment flexibility, and more. Hands down, a ULIP is regarded as one of the more lucrative investment options. Choose a ULIP to to help you accomplish your long-term investment goals.

The post ULIP: What Is It, How Does It Work, and Is It Right for You? appeared first on Business Opportunities.

Tue, 11 Dec 2018 03:21:01 +0000 Laurie Bennett
Image Credit: adrenalina on Yay Images

When browsing banking options for your small business, it's important not to go with the first one that presents itself. One of your aims from the very start should be to find a reliable bank that meets your business's needs. As a matter of fact, you’re going to want to find exactly the right bank for your business.

If you're interested in keeping your business in the game for years to come, you must find a bank that's supportive enough to build a good future for your company. There are many things to take into account. And considering that all banks are different, this only adds to the difficulty.

However, it’s not impossible to find the right bank. Here are some guidelines to help you make the best choice for you and your small business.




1. Think About Your Needs

What are you looking for in a financial institution? Is it a small business loan or help with an investment? Also take cash flow into consideration. At the beginning, your business needs a name and need to be registered with the state before you can open a bank account. In such situations, you could use prepaid cards for funds, but not open a business bank account.


2. Consider the Customer Service

When measuring the features and abilities of banks, you'll notice that smaller, local banks tend to be better at customer service than national ones. A large number of customers means that interactions between the business and customer are not handled in the most supportive and helpful ways. Because of this, many businesses end up leaving big branches for smaller ones.

Smaller local banks value personal relationships and are happy to work with the same business owner for years to come. This could benefit your business in the long run as you won't have to keep switching banks.


3. Assess the Bank's Technology

Because of limited online self-service options, many community banks may not offer the immediate access you need for your business. While small business owners may appreciate the ease of access that community banks offer, their inability to handle simple banking tasks outside business hours may be annoying.

Many national banks offer the convenience of online banking. This allows customers to handle almost all of their banking tasks through customer portals. However, they are at a disadvantage when it comes to giving businesses what they require for more complicated needs.


4. Gauge Ease of Credit

With national banks, there is generally little to no flexibility. Loans are only issued by the numbers and little else. Depending on your history, character, and understanding of the local market, community banks offer loans with more weight. Therefore, you may have a harder time obtaining loans with community banks.


Choosing the Right Bank Is a Big Decision

Whenever you have to make a big decision for your business, it's vital that you compare all of the factors that lie ahead. You want to start your business on a good note. Therefore, now that you've seen what you must take into consideration when browsing through bank options, you're on your way to choosing the right bank.

The post How to Choose the Right Bank for Your Small Business appeared first on Business Opportunities.

Mon, 10 Dec 2018 02:03:34 +0000 Laurie Bennett
Photo by nappy from Pexels

People work to provide themselves and their families with the basic essentials of life. When a person does a job, he or she deserves fair wages. But unfortunately, wage violations are far from rare in reality. If a person is not paid fairly, they need to take swift action to protect their rights.

Under the Fair Labor Standards Act (FLSA), non-exempt workers have a legal right to overtime compensation if they work more than 40 hours in a week. But much of the time, south Florida employers violate this federal law.

Of course, as an employer you always pay your workers fairly. However, do you know someone who is not being paid fairly? If so, suggest to them that they consult an attorney in Florida who specializes in cases of unpaid overtime. These attorneys help workers get compensation for unpaid overtime. Additionally, your friend might even want to start a business of their own. Here are few business ideas for them to consider.




Home-Based Opportunities

Working from home is economical because you don't need to go anywhere. Therefore, you can save money on automobile maintenance and repairs. What’s more, home-based opportunities offer flexibility. People working from home can often be more productive because they can set their own schedules.


Fitness Business

Fitness centers provide safety and a comfortable workout environment. Moreover, many people love to boast about having visited the gym. Especially considering the culture in south Florida, your fitness center could become a lucrative business.


Advertisement and Promotion

Advertising helps manufacturers to expand their businesses. What’s more, businesses large and small of all kinds continuously need advertising to stay ahead of their competition. With all of the businesses in Florida, a business that’s based on marketing and advertising could lead to entrepreneurial success.


Credit Consultant

When the economy is poor people often get themselves into trouble with credit card debt. Are you good with giving advice and helping people with their money? Then perhaps being a credit consultant is the right career for you. You could advise people about paying off debt, negotiating interest rates, and learning to make better financial decisions. When you’re ready, you could expand your business by contacting local loan officers to request referrals from them about people you might be able to help.


Online Business Opportunities

Most new business take a lot of set-up time. However, if you are starting an online business, you don't have to wait. All you need is a computer and an Internet connection.

What’s more, online businesses have unlimited income potential. Most owners of online businesses love the work they do. Moreover, more than half of the world’s people, roughly 3.2 billion people, now use the Internet. Any number of those people could be looking for the service you plan to provide. Do a good job for them, and your online business could eventually lead you to financial success.


Take Matters into Your Own Hands If You’re Not Being Paid Fairly

There are thousands of people who are not being paid fairly. Many of these people could build a better life for themselves by starting a business of their own. If you believe this describes you or a friend of yours, consult the suggestions listed here.

The post Not Getting Paid Fairly? Check out These Business Ideas in Florida appeared first on Business Opportunities.

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, for example, %HEADLINESPLUGIN_SHORTDESCRIPTION%. Note: Don't modify the settings here; copy and customize the settings in Main.TWikiPreferences. For example, to customize the USERAGENTNAME setting, create a HEADLINESPLUGIN_USERAGENTNAME setting in Main.TWikiPreferences.

  • One line description, shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Show headline news in TWiki pages based on RSS and ATOM news feeds from external sites

  • Refresh rate in minutes for cached feeds. Disable caching: 0, default: 60
    • Set REFRESH = 60

  • Maximum number of items shown. Default: 100
    • Set LIMIT = 100

  • Use LWP::UserAgent, or fallback to TWiki's internal getUrl() method. Default: yes

  • Timeout fetching a feed using the LWP::UserAgent. Default: 20

  • Name of user agent. Default: TWikiHeadlinesPlugin/2.21
      * Set USERAGENTNAME = TWikiHeadlinesPlugin/2.21

  • Default header: (variables are explained in the syntax rules)
      * Set HEADER = <div class="headlinesChannel"><div class="headlinesLogo"><img src="$imageurl" alt="$imagetitle" border="0" />%BR%</div><div class="headlinesTitle">$n---+!! <a href="$link">$title</a></div><div class="headlinesDate">$date</div><div class="headlinesDescription">$description</div><div class="headlinesRight">$rights</div></div>

  • Default format of one item: (variables are explained in the syntax rules)
      * Set FORMAT = <div class="headlinesArticle"><div class="headlinesTitle"><a href="$link">$title</a></div>$n<span class="headlinesDate">$date</span> <span class="headlinesCreator"> $creator</span> <span class="headlinesSubject"> $subject </span>$n<div class="headlinesText"> $description</div></div>

  • Values taken from configure: (only supported if CPAN:LWP is installed)
    • $TWiki::cfg{PROXY}{HOST} - proxy host, such as "proxy.example.com";
    • $TWiki::cfg{PROXY}{PORT} - proxy port, such as "8080";
    • $TWiki::cfg{PROXY}{SkipProxyForDomains} - domains excluded from proxy, such as "intra.example.com, bugs.example.com";

Style sheets

The default HEADER and FORMAT settings use the following styles. See the style.css file defining the default CSS properties (indentation illustrates enclosure).

  • headlinesRss: output of the HeadlinesPlugin (div)
    • headlinesChannel: channel header (div)
      • headlinesLogo: channel logo (div)
      • headlinesTitle: channel title (div)
      • headlinesDate: channel date (div)
      • headlinesDescription: channel description (div)
      • headlinesRight: channel copyright (div)
    • headlinesArticle: one news item (div)
      • headlinesTitle: article title (div)
      • headlinesDate: article date (span)
      • headlinesCreator: author of article (span)
      • headlinesSubject: subect category of the article (span)
      • headlinesText: article text (div)

Plugin Installation Instructions

  • Download the ZIP file
  • Unzip it in your twiki installation directory. Content:
    File: Description:
    data/TWiki/HeadlinesPlugin.txt plugin topic
    pub/TWiki/HeadlinesPlugin/style.css default css
    lib/TWiki/HeadlinesPlugin.pm plugin perl module
    lib/TWiki/HeadlinesPlugin/Core.pm plugin core
    Check if above examples show a news feed instead of variable.
  • Optionally, run HeadlinesPlugin_installer.pl to automatically check and install other TWiki modules that this module depends on. You can also do this step manually.
  • Alternatively, manually make sure the dependencies listed in the table below are resolved.
    Digest::MD5>=2.33Required. Download from CPAN:Digest::MD5
    LWP::UserAgent>=5.803Optional. Download from CPAN:LWP::UserAgent

Plugin Info

Plugin Author: TWiki:Main.PeterThoeny, TWiki:Main.MichaelDaum
Copyright: © 2002-2009, Peter Thoeny, TWIKI.NET; 2005-2007, Michael Daum http://wikiring.de
License: GPL (GNU General Public License)
Plugin Version: v2.21 - 12 Feb 2009
Change History:  
12 Feb 2009: {PROXY}{HOST} supports domain with and without protocol -- Peter Thoeny
06 Feb 2009: added {PROXY}{SkipProxyForDomains} configure setting, added USERAGENTNAME plugin setting -- Peter Thoeny
11 Dec 2008: added {PROXY}{HOST} and {PROXY}{PORT} configure settings -- Peter Thoeny
13 Sep 2007: fixed parsing of content:encoded
23 Jul 2006: improved atom parser; if a posting has no title default to 'Untitled'
26 Apr 2006: added lazy compilation
10 Feb 2006: packaged using the TWiki:Plugins/BuildContrib; minor fixes
03 Feb 2006: off-by-one: limit="n" returned n+1 articles; make FORMAT and HEADER format strings more robust
23 Jan 2006: released v2.00
05 Dec 2005: internal feed urls must be absolute
02 Dec 2005: added web.topic shorthand for internal feeds
29 Nov 2005: fixed CDATA handling
21 Nov 2005: added ATOM support; extended RSS support; added dublin core support; added content support; optionally using LWP to fetch feeds to follow redirections; corrected CPAN dependencies ; recoding special chars from html integer to entity encoding to increase browser compatibility; added css support; use getWorkArea() if available
11 May 2005: TWiki:Main.WillNorris: added DevelopBranch compatability
31 Oct 2004: Fixed taint issue by TWiki:Main.AdrianWeiler; small performance improvement
29 Oct 2004: Fixed issue of external caching if mod_perl or SpeedyCGI is used
02 Aug 2002: Implemented caching of feeds, thanks to TWiki:Main/RobDuarte
11 Jun 2002: Initial version (V1.000)
Perl Version: 5.8
TWiki:Plugins/Benchmark: GoodStyle 100%, FormattedSearch 99.5%, HeadlinesPlugin 94%
Plugin Home: TWiki:Plugins/HeadlinesPlugin
Feedback: TWiki:Plugins/HeadlinesPluginDev
Appraisal: TWiki:Plugins/HeadlinesPluginAppraisal

-- TWiki:Main.PeterThoeny - 12 Jan 2009
-- TWiki:Main.MichaelDaum - 13 Sep 2007

Topic revision: r1 - 13 Feb 2009 - 03:55:45 - TWikiContributor
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.HeadlinesPlugin