Headlines Plugin

Show headline news in TWiki pages based on RSS and ATOM news feeds from external sites


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/ ) lists 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
touch="..." Touch (edit/save) topics if the feed has updates. Specify a comma-space delimited list of TopicNames or Web.TopicNames, such as "%TOPIC%, NewsLetter". Useful to send out newsletter using MailerContrib, showing new feeds since last newsletter. To update feeds, visit topics with feeds in regular intervals (using cron with wget or the like). N/A
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]]:* $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="2" }%

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

Mon, 31 Aug 2015 14:19:43 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Mon, 31 Aug 2015 14:19:43 +0000 Erin Eagan

If you dream of becoming an entrepreneur, hopefully you know by now that it won't be a walk in the park. Instead, you'll be tested a number of different ways before you actually taste success. While there's no one objective formula that will take a nine-to-fiver and turn them into their own boss, some things are almost always present during an entrepreneur's journey. If you have any of the five elements below in your life right now, you'll be off to a great start. Have more than one? Even better.


1. Opportunity

This one is pretty obvious, but it needs some clarification. There's a difference between ''opportunity'' and ''luck.'' The main difference is that someone who is prepared has opportunity fall in their lap and knows what to do with it. Those who aren't prepared may have luck befall them, but often have no idea what to do next.

Be someone who constantly looks for opportunities around them. Better still, be the type of person who takes those opportunities, even when there's no clear guarantee of success. Consider it practice and you'll soon be turning opportunities into gold.

2. Expertise

Most people have some kind of expertise. Maybe it's what they do for a living. A lot of times, though, it's something related to a hobby or pastime. Do your friends constantly come to you for advice about something? When they need a certain job, do they ask if you can do it for them?

Why not leverage this expertise for a paycheck? If the expertise you've established is related to your current job, fire your boss and go into business for yourself!

3. A Problem

Throughout the course of history, nothing has signaled a business opportunity as well as a problem. In fact, an entrepreneur should probably look at ''opportunity'' and ''problem'' as being one in the same.

Think of all the problems you have in your life right now. Make a list. You're not trying to be negative here. You're trying to find ways to make money. Solve any one of those problems and chances are you've just done the same for others. Sell them a product that will keep solving this problem or write an e-book that will show them how to copy your results.

4. A Network

There's that old saying that says, ''it's not what you know; it's whom you know.'' This is often very true. Having an expertise is still very important. However, plenty of people have made money simply because of their network. That group of people could become your greatest educators. They could also provide you with the investment capital you need to get your business off the ground. Just one person you know may be the one who introduces you to your future business part. With resources like LinkedIn, you'd do well to take advantage of building a profitable network.

5. Determination

Don't forget that, by far, your most important trait as an entrepreneur is dogged determination. Simply refuse to give up and eventually one of the above will deliver you your dreams.



Fri, 28 Aug 2015 18:55:18 +0000 Erin Eagan

Opening a franchise doesn’t mean you have to break the bank  - in fact there are plenty of franchise opportunities under 10k available to you.


If you dream of being your own boss but don’t want to dream big without spending big, take a look at the following franchises that will earn you maximum profits with minimal costs.



Min Investment: $7,250
Bar-B-Clean was founded by Bryan Weinstein in early 2011. With tireless effort, development of a thorough cleaning process, effective marketing plans and a passion for educating the public on the many benefits of a clean barbecue, Bar-B-Clean built its local client base and became profitable very quickly. This home-based business is one of the top franchise opportunities under 10K, so no office space or office related expenses are necessary. In addition, all required equipment will fit in whatever vehicle you are currently using, so there is no need for a company car or truck. Bar-B-Clean's initial investment is low enough so that your break-even point will be much sooner than you think. With their extensive training, efficient cleaning process, marketing materials and franchisee support, you can be out cleaning and making money within a month of signing your franchise agreement.


Urban Vendor

Min Investment: $10,000
Since early 2010, Urban Vendor has been a pioneer in the healthy vending industry by offering guilt-free snacks, beverages and care products in earth-friendly KarmaBoxes. Their all-inclusive vending package allows independent operators to live their day-to-day lives with little interruption from their vending unit, known as a KarmaBox, business. When you become an Urban Vendor independent operator, you will be working with KarmaBox Consultants before, during and after your investment to help grow your healthy vending business. By choosing Urban Vendor as your healthy vending platform, you are well on your way to becoming your own boss in an untapped field with high growth potential.



Min Investment: $3,000
A Cleantastic cleaning franchise is your own commercial cleaning business with experienced help. When you purchase a franchise you get the right to use the Cleantastic commercial cleaning business system, their name, support and technical expertise. You will receive comprehensive training, equipment, uniforms, business cards and manuals. In fact everything you need to get started including a client base. You choose the size of the package (guaranteed work) you would like to start with. You have many options. You could purchase a lawn mowing franchise, a window cleaning franchise or a car cleaning franchise - and these are all sound franchising opportunities. With a Cleantastic franchise you’ll see the many lifestyle benefits and financial opportunities offered to our franchise owners.


Space Walk

Min Investment: $3,500
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.


Sprayless Scratch Repair

Min Investment: $8,995
Sprayless Scratch Repair's patented process is more than 18 years proven. Dealerships and retail customers rely on SSR for expert repairs on chips, scratches and blemishes in their car’s paint. Now, SSR offers a highly profitable incremental income stream, for existing business' as well as new independent business entrepreneurs, offering an opportunity to start up quickly and effectively. The ''SSR System'' includes all the training and tools necessary for you to become part of the largest network of after market car care providers in the world, leading the industry in cosmetic appearance service contracts offered by automotive dealerships throughout the United States. Their system is designed for Aftermarket Car Care Professionals with an existing touchup or spray system as an introduction to the huge benefits of owning an SSR system. The system comes with 18 SSR colors and will repair 100% of the colors you will come across on a daily basis. The system contents have the ability to return over $25,000 in repairs. However, the SSR support doesn't end once you’ve purchased your system. Ongoing support continues to be available to you by phone or by a trainer visiting your site.



Min Investment: $4,650
If you are looking for one of today's top franchise opportunities under 1oK while offering unlimited earning potential, Hygienitech Mattress and Upholstery Cleaning and Sanitizing Systems might be for you. The USA-made and patented Hygienitech system uses incredible suction, high frequency pulsating ultrasonic waves combined with a powerful UV-C germicidal light to destroy and eradicate dust mites, bacteria, common viruses, mold and mildew, fungal spores and other harmful allergens and unhealthy contaminants that accumulate in mattresses, upholstered items, pillows, curtains, carpeting, draperies, children's toys, as well as on the hard surfaces in homes, hotels or any type of multi-bed facility. And it’s all accomplished with an environmentally friendly, dry and chemical-free process. Once your customers see how unhealthy and contaminated their mattress is from the free 3-minute dust mite and allergen detection test that you provide, the rest is easy. Soon, you’ll be doing all the mattresses and just about everything else in their house or multi-bed facility on a regular basis.

kinderdance international-franchise

Kinderdance International

Min Investment: $10,000
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.

national tax office-franchise

National Tax Office

Min Investment: $799
If you aspire to open your own tax preparation business, you probably already know that building a business independently can be difficult. At the same time, franchising through a larger company can quickly become costly. Fortunately, National Tax Office solves both of these problems - helping you to build out your business under a trusted and established name while offering competitive pricing and revenue splitting. When you work with NTO, you never have to worry about costly initial investments or ongoing obligations. Their investment requirements are reasonable, and they work closely with you to find terms that you can meet. National Tax Office is prepared to work with most aspiring entrepreneurs, regardless of background, and can provide economical solutions to help you launch your tax preparation business.


Launch Homecare

Min Investment: $5,000
Launch Homecare has combined two businesses into one. Explode your earning potential by using this innovative business model and providing both home care and assisted living placement services to your clients. The “60 Days to Launch” product is a starter-package designed to help you plan and prepare for the launch of your home care and assisted living placement company. Understanding the industry and having a realistic and strategic plan is crucial to your future success. This product is designed to get you started in the right direction. Their VIP Package, as seen below, is where you’ll find the entire collection of our resources, tools, software, and LIVE training but we really believe that the first step in your journey as a successful entrepreneur in this industry is understanding the basics, putting together a plan of action, and then preparing for the launch of your new business.


Captain Tony’s Pizza

Min Investment: $10,000
In 1972, Antonio Martella opened the first Captain Tony’s Pizza & Pasta Emporium in the fine state of New York. The family decided to share this great pizza with the world by expanding into a franchise in 1985. Now, Captain Tony’s Pizza and Pasta Emporium is leading the way in pizza franchise opportunities under 10K. Their restaurant specializes in dine-in, take-out and delivery of mouth-watering gourmet pizzas, operating from a minimum amount of space. Captain Tony’s Pizza is offered to customers in the “Anyway you want it” system, allowing them to eat a pizza the way they want it, choosing from a variety of pizza toppings and combinations. Equipment costs are low and leasehold improvements will vary depending on whether you have a full-service, dine-in restaurant or a take-out and delivery unit.


Golf Tournament Outfitters

Min Investment: $3,900
Golf Tournament Outfitters is an 11-year-old company offering a turn-key marketing business which supplies gift items and facilitates on-course contests for charity golf tournaments. This is a work-from-home seasonal business, so they also sell member perks to membership groups and fundraising incentive items to non-profit organizations. This can be a great part-time income opportunity for someone who might be retired, or you can work this business full-time throughout the year. It is your choice, since there are no sales quotas and it is your business to run. Expect annual full-time income up to $50,000. They provide a connect-the-dots marketing and sales plan along with the sales tools and forms you will need to solicit charity golf event directors. They also provide training to get you started and follow-up support as long as you need it and will supply you with office support and drop-ship all products directly to your customers.



Min Investment: $5,000
As the $49 billion dollar commercial and residential cleaning business grows and continues to prove to be virtually recession-proof, now is the perfect time to join the Mopfrog team. Your investment, consisting of Mopfrog products and equipment and allows you to begin marketing to over 20,000 households in your area. These households are likely to use cleaning maid services due to the fact that their average income is over the $75,000 annual income threshold. In addition, as a Mopfrog franchisee, you are offering a Green service that cleans as well or better than other, more traditional, alternative services and provides a non-chemical cleaning environment. This opportunity allows you to set up your Mopfrog location within weeks and begin servicing customer accounts right away. Moreover, the start-up fee is significantly lower as one of the franchise opportunities under 10K, allowing you to use your investment towards growing your business and maximizing profit.


Slip Doctors

Min Investment: $10,000
If you are considering one of the top franchise opportunities under 10K, you owe it to yourself to consider SlipDoctors. SlipDoctors has developed several methods for improving traction on tiles, stone, porcelain, concrete and most other surfaces commonly found on walking surfaces, boat decks, porcelain and fiberglass bathtubs, showers, wood - even synthetic surfaces. They offer packages that are reasonably priced and have a lead generating program that is designed to assist you in getting your business underway in the shortest possible time. Training is available at our headquarters in Carrollton, Texas.

big mouth direct-franchise

Big Mouth Direct

Min Investment: $10,000
When you purchase a Big Mouth Direct franchise, you will have a business to sell low-cost digital business solutions to small- to medium-sized businesses in an exclusive territory and make a lot of money. You will offer search engine optimization (SEO), pay-per-click, social media, reputation management, website design and development, email and text marketing and other digital business solutions. It's easy - every small business needs to increase their presence on the Internet, drive traffic, convert the traffic to leads and the leads to sales. This is truly one of today’s franchise opportunities under 10k. You’ll be selling digital business solutions within 30 days. In 2013, e-commerce on the Internet surpassed $1 trillion. All forecasts predict continued growth and incredible opportunity for Internet marketing, advertising and other digital business solutions. Big Mouth Direct can get you up and running, making money fast.

krispy krunchy chicken-franchise

Krispy Krunchy Chicken

Min Investment: $2,500
Krispy Krunchy Chicken was established in 1993 and has 70 combined years of experience in the c-store/food service industry. There are currently over 700 locations in 25 states. Although specializing in c-stores, grocery stores, and supermarkets, you will also find Krispy Krunchy in a zoo, water park, mall food courts, and free standing units. Krispy Krunchy Chicken also specializes in remodeling, re-design and construction planning. Krispy Krunchy will provide you approximately one week's training at your location at our expense and will provide assistance with operational problems, such as gross profit, volume, labor, etc. They will also grant you geographic protection (to be determined by Krispy Krunchy rep). If a potential operator within this area wishes to market to Krispy Krunchy program, and they determine that it is not a competitor, they will still require your consent to brand that operator.


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-2010, Peter Thoeny, Twiki, Inc.; 2005-2007, Michael Daum http://wikiring.de
License: GPL (GNU General Public License)
Plugin Version: v2.6 - 2010-05-16
Change History:  
2010-05-16: TWikibug:Item6433 - more doc improvements
2010-04-25: TWikibug:Item6433 - doc fix: Changing TWIKIWEB to SYSTEMWEB
2010-02-27: TWikibug:Item6313 - fixed bug in ATOM feed with <link ...></link> instead of <link ... /> -- Peter Thoeny
2009-09-30: fixed bug in lastBuildDate of feeds affecting touch parameter functionality -- Peter Thoeny
2009-08-29: added touch parameter -- Peter Thoeny
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: http://TWiki.org/cgi-bin/view/Plugins/HeadlinesPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/HeadlinesPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/HeadlinesPluginAppraisal

Related Topics: TWikiPlugins, AdminDocumentationCategory, TWikiPreferences

Topic revision: r1 - 2010-05-17 - TWikiContributor
This site is powered by the TWiki collaboration platformCopyright © 1999-2015 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.