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:

Fri, 09 Oct 2015 19:01:53 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Fri, 09 Oct 2015 19:01:53 +0000 Erin Eagan

The Dubai-based cryotherapy treatment company Cryo has inked a deal to franchise their concept to the international gym chain, LA Fitness. Cryo uses pioneering cryotherapy techniques to improve skin conditions and other health problems.

The company has signed a deal under which a new US-based franchisee company, LA Fitness Cryo, will offer cryotherapy services at 40 LA Fitness sites over the next two years throughout the U.S. The first will open in its Hollywood branch on October 15.

According to The National, Benny Parihar, Cryo Holdings' managing partner, said that with LA Fitness' 600 retail locations the deal gives them access to real estate that will be key market for the cryotherapy company. ''They give us access to their demographics and data,'' said Parihar.

Mr Parihar, who cofounded Cryo with Kai Stubbe two years ago, said the investment had provided the company with much-needed growth capital to move it from a start-up to an SME. ''It has allowed us to build a team [and] to really develop this franchise business. We needed to create a lot of content. If you're a franchisee, we wanted to be able to support you so your business can get to break-even as fast as possible.''

Parihar also stated that Cryo's ultimate goal is to become the franchise giant leader of the cryotherapy treatment world - not only offering a retail experience but also the ingredients, the service and the machines to run it.

Thu, 08 Oct 2015 16:03:50 +0000 Erin Eagan

If you want a career that allows you to work with kids, while at the same time be your own boss, look no further than one of the many leading children's franchises available.

By 2020, children are expected to make up a quarter of the population. Get in on what is sure to be a money-making opportunity for years to come. Some of the most popular children's franchises today include childcare, tutoring programs, recreational and athletic programs - franchises geared toward achieving productive minds and bodies.

While you don't need any specialized skills to become an owner of most children's franchises, it definitely helps to have a love of kids. Browse our listing to see if there is anything that looks intriguing and follow your dreams. Good luck!

Bricks 4 Kidz

Bricks 4 Kidz provides an extraordinary atmosphere for children to learn, build and play with LEGO Bricks. It offers activities for children ages 3-13, including after-school enrichment classes, week-long summer camps, birthday parties and pre-school classes. Bricks 4 Kidz uses LEGO Bricks and over 200 proprietary model plans to teach children the principles of STEM (science, technology, engineering and mathematics) in engaging camps, classes, in-school workshops and birthday parties.

Professor Egghead

As one of the leading children’s franchises, Professor Egghead Science Academy has one goal in mind: to make science cool for kids. A Professor Egghead Science Academy education franchise does not need a physical location. Franchisees hire instructors, who then go to different locations and run educational programs. Locations include: Schools, Parks, Rec Centers, Community Centers, and Homes. Instructors run the Egghead Proprietary curriculum so franchisees don't have to worry about developing content.

Children's School of Yoga

The mission of Children's School of Yoga is to be a child’s first yoga teacher in a fun, age appropriate way. Their goal is for the child to continue practicing yoga into their adult life. They feel that if a child takes just one yoga pose or breathing technique from their program and uses it, then they have achieved our mission. All of the classes for children are curriculum-based, age-appropriate, and theme-orientated. Owner Doreen Foxwell personally trains all of her teachers and franchisees and continues to work closely with them.

Space Walk

Space Walk, America’s leading provider of inflatable fun, has over 40 years of experience unlocking the success of people like you across the United States. With our Partner Program, Space Walk will put you into business for yourself and commit long term to helping you become a success in your community. We’re the inventors of the inflatable amusement industry and have already helped many families and individuals just like you across the country. When you become a space walk partner you will receive: inflatables to rent in your community, you do not have to purchase the equipment; some Space Walk partners have over $200,000 worth of equipment that Space Walk provided; a custom designed computer program for taking reservations; a business license - no cost to you because Space Walk pays for it; and more.

Tot Squad

Tot Squad comes to the rescue of busy parents and caregivers every day by providing the care, safety and installation of their baby gear both in retail settings and at home. To date, Tot Squad has served thousands of happy parents and caregivers, expanded our services to include repairs and certified car seat installations, and established partnerships with some of the most significant brands and retailers in the parenting space.

Rockin' Jump

Rockin' Jump is a family friendly, indoor trampoline park with over with arenas for open jumping, dodgeball, basketball, a foam pit and private party rooms. As one of the up-and-coming children’s franchises, it is also an exciting alternative for birthday parties and family gatherings, where quality food and private party rooms were guaranteed, and kids can safely play while we socialized with other parents.

Kinderdance Int'l

Kinderdance is the original worldwide dance, motor development, gymnastics and fitness program that combines academic readiness skills which are specifically designed for children ages 2 to 12. What makes Kinderdance unique is that all of their programs incorporate educational concepts in a developmentally designed curriculum that teaches to the total child. They place special emphasis on building “Self Confidence” and “Self-Esteem” in young children. Franchisees offer Kinderdance’s innovative “education through dance” programs to thousands of children across North America, teaching at YMCAs, churches, public and private school systems, military bases and community centers, in addition to preschools and child-care centers.

STEM for Kids

As the founder and CEO of STEM For Kids, Moni Singh is connecting industry with academia through STEM (science, technology, engineering and math) education. Her two-fold mission: make STEM fun and real for children. She and her organization have enabled thousands of children in grades K-12 to experience science, engineering and computer programming in a hands-on way. Singh launched STEM For Kids children’s franchises to broaden the reach of her STEM programs.

Sing Your Name

Sing Your Name is a distributorship offering a wide range of hugely popular personalized children’s products, from personalized music CDs to one-of-a-kind interactive Kids Story Books. For simpler tastes, Sing Your Name also offers a full line of personalized paper products including personalized name poems and growth charts. Unique to children’s franchise, Sing Your Name offers multiple start-up packages designed to fit any budget.

British Swim School, USA

British Swim School was created to provide new franchise owners with a feeling of fulfillment and purpose in helping save children’s lives. Unlike the other swim schools, British Swim School owners don't need a great deal of money to get their businesses up and running. British Swim School has spent years developing partnerships with existing organizations to find existing pools for its franchise owners to utilize. The organization reaches more than 6,000 students per week and conducted more than 250,000 swimming lessons in 2013.

Hobby Quest

Hobby Quest's franchisee model has been developed as a home-based business. The primary business of Hobby Quest is after-school programs for children aged 5 to 14 years old, working mainly with and in schools and community centers. The secondary line of business is providing outlets for children through such activities as summer camps, birthday parties, Boy Scouts functions and private classes. To ensure quality and consistency, Hobby Quest operates a network of support in the vital areas related to the development and operation of each franchise.

e2 Young Engineers

e2 Young Engineers’ home-based, children’s franchise provides education and tutoring services to children and families, utilizing proprietary curriculums focused around using LEGO and K’nex bricks, while instilling specific skills in children that will be invaluable to them for the rest of their lives. Program delivery methods include cooperation with local community centers, schools, playgroups, various religious institutions and any other center where children activities may occur. Franchisees operate in an exclusive territory and are provided the full support of e2 Young Engineers management team and global network of support staff.

Kids in Sports

Kids in Sports was started in 1999 in New York City by Michael Strutt and Kenneth Colon whose passion for sports and coaching led them to design programs that teach children ages 12 months to 12 years the fundamentals of sports in a safe, fun, friendly and supportive environment. In addition to the basic rules and skills of sports children learn sportsmanship, teamwork, respect and communication - the building blocks for young athletes. The founders' goal is to team up with qualified people that will bring the same passion and energy for operating a children's sports program as they always have. They, along with their team, manage all support of their franchisees. Kids In Sports is positioned to be a leader in the area of children's sports instructional programs and they look forward to expanding their successful brand.

Kidz Art

KidzArt is a drawing-based fine arts program, offering classes, parties, camps and workshops, with curriculum that never repeats and a variety of creativity-oriented educational programs. Teach yourself or hire a staff of teachers on a full- or part-time basis. You can easily change as your business grows. Ongoing monthly training is available via curriculum, conference calls, webinars and videos.


If you enjoy working with children and you are excited about growing your own business, a JumpBunch franchise may be right for you. JumpBunch brings sports and fitness classes to existing daycare, preschool and school age classrooms. Since classes are held at the schools, this is a low-overhead, home-based business. JumpBunch serves a broad audience of children from 15 months to 12 years old with proven, age-appropriate programs for toddlers, preschool and school age kids. Today, over 50,000 children around the world enjoy JumpBunch classes every week. JumpBunch is fueled by over 300 lesson plans matched with sports equipment carefully sourced to be safe and age appropriate. JumpBunch is a tried and proven business model that positions owners to fill a real need valued by parents and school directors.

Imagination Yoga

Imagination Yoga is a curriculum-based kids yoga program that inspires real change in the lives of children. Not only is it a fun and effective kids yoga class, it is also an opportunity to teach them concepts like compassion, concentration, relaxation and something they call being 'Boldly kind.' Imagination Yoga instructors teach children ages 2 through 12 yoga poses and concepts by having them act out adventure stories set in farms, castles, outer space and more.

Pigtails & Crewcuts

Kids love Pigtails & Crewcuts children's salon because it's a world made just for them, and parents love the salon because they know their kids are in good hands. In addition to hair styling services, each Pigtails & Crewcuts has its own party room, available for themed birthday celebrations, as well as a retail section. In just over 10 years, owner Wade Brannon has grown Pigtails & Crewcuts to more than 50 franchise locations across the country, providing outstanding service to kids and their parents. His expertise has guided Pigtails & Crewcuts to become one of the fastest-growing children’s franchises in the United States, where Entrepreneur Magazine has named it to the Franchise 500 list for five consecutive years. In addition, in 2010, Parents Magazine named Pigtails & Crewcuts one of the Top 10 Chains for Kid Birthday Parties.


Mathnasium is a specialized math-only children’s franchise with learning centers in 16 countries, beyond the U.S. and Canada. Mathnasium Learning Center's franchise opportunity is an excellent blend of owning a business while making a positive impact on children. There is a growing demand for quality math instruction. Kids across the country struggle in math every day. Mathnasium presents a special opportunity for entrepreneurs to invest in themselves while enjoying the ability to motivate and inspire others. Help children discover how much fun math can be as they catch up, maintain and get ahead in their education.


High school math teacher Toru Kumon developed the Kumon method of learning more than 50 years ago in Japan, when his son was struggling with second-grade arithmetic. Today, at locations throughout North America, Kumon franchisees apply this method of daily practice and self-paced advancement to children’s math and reading skills. Kumon is different from other learning programs in that your students will be actively developing critical, self-learning skills as they progress through their Kumon Math and Reading Worksheets. They'll build a solid grasp of each concept as they successfully solve each worksheet. Kumon has helped millions of children advance their reading and math abilities. As a franchise owner you'll help your students build the critical math and reading skills that can help them achieve more in school, and in life.

Apex Fun Run

Unlike many other children’s franchises, Apex Fun Run makes a significant impact on local communities by raising funds desperately needed by teachers and schools. Their events typically raise twice the capital of traditional fundraisers. Along with fundraising activities, as one of the up-and-coming children’s franchises, Apex Fun Run teaches young children leadership and development skills found nowhere else. Founder Scott Donnell combined his passion for fitness and leadership, with a successful fundraising component that awards students prizes for their pledges, and the pledges help to raise well-needed funds for elementary schools. Ten percent of what is raised in the classroom goes directly back to the teacher for something for his/her classroom.

Thu, 08 Oct 2015 14:40:51 +0000 Erin Eagan

The fitness industry is booming across America. You might not realize this, but such a business can now be run almost entirely from your home, and even on a part-time basis. Anytime Fitness is one such franchise that makes this possible, and they have a proven track record within the industry.

How Has Anytime Fitness Grown?

Anytime Fitness is predicated upon the notion that Americans are looking for convenience and affordability in nearly every area of their lives. This includes the fitness realm. Americans want to workout, but they often do not have the time to do so. Even those that do have the time often find that there simply is not a gym conveniently located near enough to them to make it worth their while.


Anytime Fitness has capitalized upon this need by creating smaller fitness facilities in strategically located places around the country. They each utilize a proprietary access software system that has enhanced security and surveillance technology. This means that owners are allowed to operate a fitness club that is safe and secure, without them having to be physically present all of the time. At the same time, customers are granted 24/7 access to the club of their choice, many of which are strategically located in or near neighborhoods. Since they first opened in 2002, Anytime Fitness has now opened more than 2,500 franchises in America, and they are operating in all 50 states. They have since branched out into the international market as well, making this an even more attractive franchise to consider investing in.

Is Anytime Fitness Affordable as a Franchise?

This is always a tricky question to answer, but it is helpful to note that Anytime Fitness has been rated amongst the top low-cost franchise options in the country. It has been discovered that club owners typically have a positive return on their investment much more quickly than franchisees in other similarly positioned industries. They do have an initial franchise fee, in addition to some ongoing monthly fees, but they are quite affordable. They also provide the option of leasing fitness equipment, as opposed to purchasing outright, to fit within the budget of the individual wanting to open a club. You are also given the option of spreading out the equipment costs to be incorporated into your overall monthly expenses.

What About Support?

Anytime Fitness offers support through the entire process and beyond. In fact, they openly advertise that their training program never stops. They have franchise coaches, in addition to other members of their corporate staff, and both groups are always available to assist club owners. They are continually upgrading their training program, and they look for creative ways to reach even more customers as modern trends dictate. They provide startup support, ongoing support, and national branding and marketing support as well.


Remember that people will likely always be interested in fitness. The more accessible and convenient you can make the club, the more likely they are to join. Anytime Fitness certainly seems to fit that mold.

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: Description:Sorted ascending
    pub/System/HeadlinesPlugin/style.css default css
    lib/Foswiki/HeadlinesPlugin/Core.pm plugin core
    lib/Foswiki/HeadlinesPlugin.pm plugin perl module
    data/System/HeadlinesPlugin.txt plugin topic
    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