Welcome, Registration, and other StartingPoints; Foswiki history & Wiki style; All the docs...
Edit | Attach | New | Raw | Delete | History | Print | Tools
You are here: System » HeadlinesPlugin

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


%HEADLINES{"http://slashdot.org/slashdot.rdf" header="---+!! [[$link][$title]]$n $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, 01 Jul 2015 19:46:35 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Wed, 01 Jul 2015 19:46:35 +0000 Erin Eagan

In 2004, Executive Care opened the doors to its home care business, providing a full range of in-home care services to individuals and families. Since its founding, Executive Care's mission is to provide compassionate quality in-home care services to its clients so that they can remain safe and independent in the comfort of their own home.

Lenny Verkhoglaz, President and CEO of Executive Care, sat down with us to discuss what makes the franchise unique, where he sees it headed and what a typical day for a franchisee is like.

What's special about the franchise?

It's a combination of things that makes Executive Care unique. The collective wisdom of our team - from our headquarters to our franchisees to each of our caregivers - is incredible. Everyone has something to contribute. The way we provide services and support to our clients is also special. We take an individualized approach to each client so that we can make sure everyone is receiving the best quality of care. It's also in how we provide training and support for our franchisees that allows them to run their businesses successfully and to provide an excellent level of care for their clients.


What is the idea behind the franchise?

Executive Care was created to offer peace of mind to clients in need of home healthcare services. It was also created to give our franchisees the opportunity to become independent business people. Some franchisees are looking for financial success, while others want a way to contribute to society.

How does Executive Care compare to its competition?

There is very good competition in our field, but we aren't afraid of it. We learn from good competition - that's how we improve. We respect and work harmoniously with our competitors, both on the ground level and on a franchising level. In this business, we're all working towards the same end result: providing quality care services for our clients.

What do you look for in a potential franchisee?

We believe that successful franchisees must possess two main qualities: They must be compassionate and caring, and they must demonstrate a certain level of business acumen. The ideal franchisee can balance these and understand how to make them work hand-in-hand. A franchisee should understand the essentials of management, team building and finances that it takes to run a successful business, but they also need to understand the very human side of what we do in working with our clients.

Where do you see Executive Care in five years?

I see Executive Care much stronger in five years, growing and increasing units across the country. It's hard to predict, but I want us to be the premier home care provider in the U.S.

Can you describe a typical day in the life of a franchisee?

We deal with lives, so every day is different. Executive Care franchisees always need to have a pulse on their caregivers and their clients. There are so many moving parts of the business - it's all in the details. For example, if a caregiver is allergic to cats, the franchisee needs to make sure they're making the proper assignments for that caregiver and not assigning them to a client who owns a cat. It seems like something so simple, but these little details allow us to provide the highest quality of care to our clients.

What's your background?

I have a BA in IT and an MBA in Finance. I worked in Corporate America for 20 years in field management and consulting roles in the IT departments for healthcare corporations. Because of my background in IT and the leadership roles I've held, I understand the nuisances of management that go into running a business. My past experiences also provided me insight into how large companies run their businesses. We now operate Executive Care on that same level of the corporate model.

What motivates you to keep going?

I don't look at Executive Care as a business. No day at my job is the same. When you enjoy what you do, time goes by quickly. What we do for our clients is what motivates me. We know these families come to us looking for help, answers and assistance. That's what we're here to provide them.

If you were to start again, what would you do differently?

Nothing. I think we have done an outstanding job. We are one of the largest home health providers in northern New Jersey and growing. Our philosophy is simple: If our caregivers are happy, our clients are happy. If our clients are happy, our business is successful.

Please tell us your secret to success&hellip

I think there are multiple parts to this. First, work hard - don't shy away from hard work. There is always work to be done. Second, focus on your employees. Third, be smart and provide solutions to your clients.

What is the worst job you have ever had and what did you learn from it?

I worked for an insurance company at one point in my career that just wasn't the right fit for me. But I believe that every job you have adds to your experience, and you learn from each situation.

What is one thing that really excites you?

Helping our clients in need. Our business is so personal; we make a difference every day.

Any final words for aspiring entrepreneurs?

Set a goal, but make it realistic. Build a good team and surround yourself with good people. No one has all the skills necessary to run a business - it's all about who you surround yourself with.

Where can people find out more about Executive Care?

Visit the website here.

Where can people find Executive Care on social media?


Wed, 01 Jul 2015 15:19:06 +0000 Erin Eagan

If you're looking for a franchise opportunity, then why not join the trillion-dollar healthcare industry with a promising new franchise.

Soulstice, proud to be providers of Peri-operative Therapy and high-level Health Maintenance massage therapy services, since 2004, is now expanding across the U.S. by way of franchising.


What Soulstice Offers

Soulstice has revolutionized massage therapy by developing Peri-operative Therapy, a gentle integration of manual techniques that are applied around the time of surgery. In addition to Peri-operative Therapy, Soulstice offers quality Health Maintenance Massage therapy, a powerful ally to maintain optimal health, including manage stress, nerve pain, anxiety, insomnia or simply feel better in your body by incorporating massage therapy. Soulstice also treats those who've been injured on the job or in an auto accident with their Injury and Accident Therapy, specific manual therapies are designed to aid in recovery from traumatic injury.

Why a Massage Franchise?

Massage has already proven to be a successful franchise model. Now accessible to the masses at an affordable price, people now seek quality massage services over low-cost and high volume competition. Soulstice believes in hiring and cultivating the finest therapists - paying them well above industry standard.

What Are the Benefits?

Benefits of owning your own Soulstice:

  • Quality of life business opportunity
  • Affordable investment level
  • Low start-up costs
  • Massage has a good franchise reputation
  • Medical blend
  • Interact and receive support directly with the founders
  • Best territories are still available


Ann Brooks, RMT, and Kent Lemburg BCTMB, co-own Soulstice, Ltd. Brooks has practiced massage for injury clients since 2001. In 2004, she began treating clients recovering from reconstructive and cosmetic surgical procedures. Lemburg has practiced medically based massage therapy since 1991. He began treating plastic surgery patients in 1995, and has assisted thousands of clients following their varied surgical procedures.

For more information on this franchise opportunity, click here.


Wed, 01 Jul 2015 14:09:27 +0000 Erin Eagan

So, you're trying to find the most viable franchise opportunity out there. There are a number of things that you'll be considering, then. First and foremost, the financials of getting involved have to be something that works with your current financial state. Also, you want to make sure that everything is as it appears to be.


However, there's something more important that you should be considering. You want to consider the long-term prospects of the business in which you're becoming involved. Ultimately, your fortunes will rise and fall along with the profile of the franchisor that you're entering into an arrangement with.

While there are plenty of examples of successful companies out there, there's one in particular that provides an excellent model against which you should compare any franchise opportunity that you're considering. That business is In-N-Out Burger, the immensely successful and universally lauded fast-food burger business that's popular along the West Coast and Southwest. This business is, in fact, so successful, that many wish it had a franchise program; it does not.

So, what are the qualities of In-N-Out Burger that the franchise opportunity for you should possess? That's what we'll be exploring.

Quality to the Max

While you may have a soft spot for McDonald's, Burger King, or Wendy's, we're sure that you'd admit that the food they provide isn't ''quality.'' It meets a need, certainly, but it's not the picture of refinement - in fact, it's pretty much the exact opposite.

In-N-Out Burger places an unrelenting focus on quality. In fact, this is the reason why the business hasn't expanded across the country and the world. It's about their supply chains and making sure that the freshest ingredients make it to their customers.

Customers are becoming much more aware of the quality of the food, products and services that are being delivered to them. If you're considering a franchise opportunity that you think gets by on being substandard, then that's not a good thing. It may work now, but where do you think things will be several years from now?

Employees Are Key

There's another way that In-N-Out Burger has built a sterling reputation, and that is by having a model that treats its employees well. Simply put, those who work at one of its establishments make a fair wage that allows them to lead their lives. Can you say the same about many other businesses these days?


Again, while many businesses may be skating by on paying their workers substandard wages, is that a trend you expect to continue? If recent news events are any indication, rage about the wage will only grow in the years to come. That's a fight you don't want to be on the wrong side of.


In the end, this is what it really comes down to. In-N-Out Burger is a business that does what it does exceedingly well, and it places a focus on that rather than upon expanding beyond its means. When you're examining franchise opportunities, you want the franchisor that you work with to possess this same quality. If not, you may find other franchisees stepping on your toes sooner rather than later, and - even worse - you may find that the headwinds facing the franchisor become too strong, leading to its and your failure.

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 SitePreferences. For example, to customize the USERAGENTNAME setting, create a HEADLINESPLUGIN_USERAGENTNAME setting in Main.SitePreferences.

  • One line description, shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Show headline news in Foswiki 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 Foswiki's internal getUrl() method. Default: yes

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

  • Name of user agent. Default: FoswikiHeadlinesPlugin/2.21.1
      * Set USERAGENTNAME = FoswikiHeadlinesPlugin/2.21.1

  • 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)
    • $Foswiki::cfg{PROXY}{HOST} - proxy host, such as "proxy.example.com";
    • $Foswiki::cfg{PROXY}{PORT} - proxy port, such as "8080";
    • $Foswiki::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 foswiki installation directory. Content:
    File:Sorted ascending Description:
    data/System/HeadlinesPlugin.txt plugin topic
    lib/Foswiki/HeadlinesPlugin.pm plugin perl module
    lib/Foswiki/HeadlinesPlugin/Core.pm plugin core
    pub/System/HeadlinesPlugin/style.css default css
    Check if above examples show a news feed instead of variable.
  • Optionally, run HeadlinesPlugin_installer.pl to automatically check and install other Foswiki 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, Foswiki:Main.MichaelDaum (2005-2007)
Copyright: © 2002-2009, Peter Thoeny, TWIKI.NET; 2005-2007, Michael Daum http://wikiring.de
License: GPL (GNU General Public License)
Plugin Version: 2.21.1 (08 Mar 2009)
Change History:  
08 Mar 2009: Ported without changes to Foswiki namespace by Kenneth Lavrsen and put under "Feel Free To Modify" in Foswiki context.
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.008
Plugin Home: http://foswiki.org/Extensions/HeadlinesPlugin
Feedback: http://foswiki.org/Extensions/HeadlinesPluginDev
Copyright © 2015 Atomikos BVBA. Transaction Management for Extreme Transaction Processing and SOA Environments serving ISV, Commercial, OEM and Open Source Markets
Site map RSS ATOM