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:

Wed, 16 Oct 2019 17:23:01 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Wed, 16 Oct 2019 17:22:59 +0000 Carrol Strain
Photo byJonathan SingeronUnsplash

All of life runs in circles, including the markets.

In fact, the ancient Greeks posited that the circle expressed perfection, since everything is cyclical. And because the financial markets simply reflect changes in the ways people value things, they are cyclical as well. Therefore, we can use what we know about circles and phases to better predict the cycles of the markets.

The commodities and Forex markets are especially prone to cyclical patterns. Therefore, if you’re aiming to become a successful Forex trader, it would behoove you to become familiar with the cycles of the markets. Learn to identify them and your long-term Forex trading will become more profitable.

Some cycles take long periods of time to complete their course, even decades. Others circle around in shorter patterns, enough so that some traders can engage in day trading.

All the same, observers note that all of the markets follow similar circular patterns. In fact, this is one of the basic principles of technical analysis of the Forex market. This is because technical analysis, simply put, merely studies the circles in the patterns of the past and projects them forward.

That said, what do we need to know about circles and cycles?

Understanding Market Behavior in Terms of Phases and Circles

As the markets circle round and round, close observers have noticed four distinct stages to each cycle. And because currencies tend to cycle faster than stocks, observers find it easier to identify these stages in the Forex market.

These stages, or phases, are similar to the phases of the moon. For purposes of this post, they are:

New Moon

The phase we call a “new moon” is dark, invisible to us, as that planetary body is hidden in earth’s shadow. This phase marks the beginning of another of that body’s circles around the earth.

In similar fashion, the market’s cycle starts where valuations are darkest, at their lowest. However, most traders are reluctant to invest at this point in the circle. This is because many are still stinging from a losing trend. Media reporting will be negative at this point, and there could be references to the current recession.

However, this is the point at which market insiders and savvy traders spring into action, buying up assets they see as undervalued.


The next phase in this process begins when people start to realize that the market is circling upward again, and they start looking for opportunities to jump in.

In a rush, people rush into the market, trying to ride theupward trend. Some find good opportunities, but these opportunities are quickly becoming less abundant.

This phase of the market’s circular momentum is described by most observers as bullish. There will be a lot of optimism in the press, and many will now hurry to get into the market. Anxious traders circle the markets, and people jump in out of fear of losing out.


Full Moon

Eventually, everyone who can has put all the money they can afford to risk into the market. At this point, there is a delicate balance between sellers and buyers.

This is the “full moon” phase of this circling pattern. It is the market at its peak. It is as full as it can get.

Then the upward trend plateaus out, while price action continues its daily ups and downs. Late-comers keep the full moon market full for a while, and the market maintains a fragile horizontal trend.

Investor sentiment will be optimistic at this point in the circle, or cycle. For example, there will be plenty of Forex traders who have made a lot of money and want to make more. In the media, there will usually be talk about how good the market is. You’ll read lots of success stories.

However, a few analysts and traders will begin talking about an impending recession. Typically, people ignore them.


The circle eventually comes around again, and there will be more sellers than buyers in the market. At this point in the circle, prices will begin to drop off.

As things do, the market will often fall faster than it rose. There is a warped psychology at work here, as many traders refuse to sell out of misplaced optimism and fear of loss. This is especially true of traders who have come late to the cycle. Nonetheless, the market soon falls in on itself.

Quite often, the media don't notice the decline as it's happening. It is only after the market has collapsed that there comes talk about a recession again. At that point, it is too late. The recession has fully taken hold, and we have circled back around to the dark phase again.

We’re speaking here of longer cycles. In shorter cycles, such as those that happen over a period of days, the press might not even notice.

Tracking the Circles in the Patterns of the Forex Market

Among the most popular of the technical indicators that identify and track the patterns of the market areElliott waves. Most of the other indicators either track cycles or trends.

Simply put, whatever technical analysis method you prefer generally identifies at least one phase of the market’s cycle. So whether you are a short-term or a long-term Forex trader, the market patterns are similar. This is because the shorter term cycles drive the longer term ones.

Learn to identify and ride the phases of the market with grace and you will find more success as a trader.

The post How Goes the Market? It's Running in Circles! appeared first on Business Opportunities.

Wed, 16 Oct 2019 00:06:48 +0000 Carrol Strain
Featured image from Snapwire on Pexels

The pet care industry is one of the fastest-growing industries around. In fact, according to the American Pet Products Association, the industry grew from $17 billion in 1994 to almost $56 billion in 2013. As you can deduce from these statistics alone, your pet care business is well-protected against economic downturns.

However, as any business owner would like to do, you would probably still like to grow your own business. In this article, we suggest some ideas to help.

Use Google My Business to Spread the Word About Your Pet Care Business

Google My Business plays a big role for many local businesses, so be sure to use it to promote your pet care business. For one thing, Google My Business gives your current customers a chance to rate your business. Then potential customers can see your ratings online.

On the Google My Business page for your pet care business, you can add your contact number, email, website, and the address of your shop. This is the sort of information that is useful to people who need your goods and services.

There are tons of benefits for making use of Google My Business, so be sure and sign up so you don’t miss out.

Traditional Marketing Can Help You Grow Your Pet Care Business

However, as with any local business, traditional marketing can go a long way toward promoting your business. Of course, there are TV ads, billboards, and newspaper ads to consider.

However, you don’t have to break the bank to have a successful traditional marketing campaign. That’s because you can use printed brochures and flyers to get the word out about your pet care business. For example, distribute flyers to homes in residential areas in your town, giving people information about your latest offers and new pet care products, as well as information about your pet care business itself.


Moreover, since it generally won’t cost much to distribute your flyers, you could make it a practice to distribute them regularly. For one thing, this can’t help but boost your brand’s image in the community. Your pet care business will come to be known as a full-fledged member of the local community, and your shop’s following will grow as a result.

Additionally, don’t forget to cultivate plenty of word-of-mouth marketing as well, both online and in real life. Your good reputation in the community, along with the great things people say about your business, is the most influential form of marketing there is.

Add CBD Products to Your Product Line

For the past few years, people have begun buying products such as the best cbd dog treats. Not only do pets find these treats calming, they can also be beneficial for pets with issues such as arthritis and other problems that come with aging. Therefore, adding these items to your product line can help to boost your pet care business.

Build Good Relationships with Customers

Most astute business owners understand that it’s cheaper to retain existing customers than it is to try and attract new ones. Therefore, be sure to give your current customers plenty of love.

In fact, try to cultivate good relationships with all of your customers, both old and new. Make sure your staff knows to treat everyone with courtesy, but provide special incentives and benefits to customers who have been loyal to your pet care business over time.

Know Your Competitors

There is no reason to have animosity with your competitors. Far from it. Instead, seek to build cooperative relationships with other local businesses, including other pet care businesses.

Get to know owners of other owners of pet care businesses and discuss some of your business ideas with them. Are there ways you both could win in situations that have stymied you in the past?

When you have harmonious relationships with everyone, including your competitors, your entire community will be better off.

The post Accelerate Growth in Your Pet Care Business appeared first on Business Opportunities.

Tue, 15 Oct 2019 21:19:00 +0000 Carrol Strain
Photo byTimo PireddafromPexels

The global pet grooming product market was valued at almost four billion dollars in 2017, according to Allied Market Research. It is likely to cross the five-billion-dollar mark by 2025, the same research shows. In short, this means the dog grooming business is on the rise.

So if you want to cash in on your love for animals, starting a part-time or full-time dog grooming business is an excellent decision. Moreover, starting in this market doesn’t require a lot of capital. All you will need is a place where clients can meet you-and this can even be online. Additionally, you'll need some advertising and a few essential supplies. That’s it.

Of those three needs, the third essential is what will discuss in this post: the supplies you need for starting a dog grooming business.

Dog Bath, Shampoo, and Conditioner

As the owner of a dog grooming business, you will need to bathe all kinds of dogs on a day to-day basis. Therefore, you will need a bathtub for little pups and a larger one for large dogs.

You will also need appropriate shampoo and conditioner for your dog grooming business. A quality shampoo prevents infection and excessive shedding. Different problems require different kinds of shampoo⁠-for flea bath, de-shedding, whitening, and so on. Therefore, you need to keep them all.

Also, you’ll need a conditioner to keep the dogs’ hair silky, shiny, and moisturized. Thus, that’s another essential for your dog grooming business.

Fur Dryer

To dry off the dogs after bathing them, a fur dryer can come in handy. The one you need will depend on the type of your business. In other words, if your dog grooming business is a shop where owners bring their pets, a standing dryer will be excellent. On the other hand, if you are going to owners’ houses, a remote dryer will be needed.

In either case, remember to buy one that dries but doesn't overheat.

Brushes and Combs

Brushing and combing a dog’s fur keeps them comfortable and healthy. Also, frequent brushing and combing prevents hair tangles and mats.

Further, whether you brush or comb will depend on the dog’s breed⁠. Some breeds will need combing, but brushing does a better job on others. So for your dog grooming business you will need to keep brushes of all types⁠. For instance, you'll need brushes for extra-long fur as well as a bristle brush, a slicker, a glove, a de-tangler, and so on.


The owners of the dogs want their pets to look pretty, so unnecessary fur and matted hair just will not do. That’s why shears are essential for your dog grooming business.

Trimming the pup’s fur from time to time is one of the jobs of a groomer. For that, a variety of tools are available: straight scissors, curved scissors, thinning shears, blenders, and chunkers.


Other Essentials for Your Dog Grooming Business

Apart from the other essential supplies we have already discussed, a few others are also necessary before you can get your business up and running. Some of these are:

  • Nail clippers
  • A grooming table
  • Ear and eye care
  • Dental kits

Additionally, some of your clients might want dog fence reviews and you'll need to search online to find some.

A Few Final Words About Starting a Dog Grooming Business

Starting a dog grooming business requires essential supplies. The supplies we have listed here are the most important.

As you gain experience in the field, there will surely be others that you'll want to have. When you add them, be sure to jot them down on your list of essentials.

Want more ideas for starting a business? Be sure to browse our blog.

The post The Essential Supplies for a Dog Grooming Business 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