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:

HeadlinesPlugin ERROR: 500 Can't connect to slashdot.org:443 (Connection refused)

Business Opportunities Weblog

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

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

Tue, 21 Feb 2017 23:08:17 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Tue, 21 Feb 2017 23:05:53 +0000 Bizop Team

What Does it Take to Start a Lawn Care Business?

In almost every business niche there is fierce competition and that is certainly true for the lawn care industry as well. But where there is a will there is a way. What it takes to be successful in today’s business environment (in any industry) is to be willing to go above and beyond the competition in terms of both service and quality.

In the U.S., just about everyone who can afford a lawn care service has one. While some people do enjoy caring for their own lawns, most do not or they simply do not have the time to do it. In the UK however, things are different. Most people do not understand the lawn care sector yet and still clip their own grass.

Things are beginning to change. Craig Daniel of Acer Lawncare tells us that in some of the UK’s wealthier areas like Manchester and Warrington, lawn care companies are springing up out quickly. With that, he says, “the competition is becoming quite stiff rather quickly.”


If you are thinking of starting your own lawn care business, it is important to know that most consumers expect it to be an expensive service. This is both good and bad. Good if someone is ready to hire you and knows the service will cost a little. Bad if they are not hiring a service because they feel it will be too expensive for them to even check out.


How Much should you charge?

There are a few things to consider when you are setting your pricing.

You will want to focus on having a large amount of customers within a small travel area. If you try to take accounts all over the place, you will spend a lot more on gas and wasted travel time and hence your business will be less profitable. So the first key to success is having aconcentration of customers in a small area. When you are staring out make sure you spend your down time marketing your business in a small radius you would like to work in. Have flyers made, door hangers, business cards and so on and canvas an area.

If someone across town wants to hire you that could be good too. Just make sure you are charging enough to make up for the time travel to that area.

If you have employees, trucks, gas, insurance and so on, make sure you figure all those expenses into your quotes and make sure you are giving yourself an adequate profit margin.


How many customers do you need to make a profit?

That all depends upon how big you want your business to be. Do you want to keep it small, be home based, do the work yourself and have one truck? Or, is your vision to have 20 trucks, 40 employees and several cities you work in? As a part of your early business planning, make sure you think abou that. That way, each decision you make will further you toward your end goal.


In either scenario, figure out what your total overhead will be. Then figure out how much money you want to make per month. Add the two numbers together, divide it by the number of accounts you believe you can handle, and that will tell you where your pricing needs to be. Of course that is a very over-simplified model but it is a good way do a quick and dirty business plan to see if your concept works for you. If the pricing is too low, is there some other service you can offer to set yourself apart from the competition? Can you offer fertilizing, tree trimming, pet clean up or total organic products? Be creative and unique and your customers will see why you charge a bit more.


How do you get your business off the ground?

We chatted with Craig Daniel of Acer Lawn Care, about how he managed to get his lawn care business off the ground. He told us, ''Starting this lawn care business from scratch was very difficult to be honest. Before I began I researched my local area to ensure there were enough potential customers to satisfy my business goals and I also analyzed the competition. My initial outlay was quite heavy as I needed to buy a van, create marketing paraphernalia, build a website, embroider uniforms and do an endless amount of canvassing.”

Mr. Daniel went on to say that it was a lot of work for one person to do so you should know that going in. We followed up by asking him if he felt starting a new business was worth it. He replied ''Without a doubt it has been very challenging, much more than I anticipated. I probably would think twice about it nowadays. However, he assured us that if a person has enough grit and determination, they can break through the difficulties and create a very successful business that will repay them over time.''


Most business owners agree that starting a new business in any field can be an extremely difficult accomplishment. It almost always takes more time, money and effort than anyone ever imagines it will. However, if you have a great passion and drive for your business, and are willing to work at it 110% until you get it off the ground, it will all be worth it in the end.

Mon, 20 Feb 2017 04:39:50 +0000 Bizop Team

Don't Give Up On Past Customers, Re-Engage Them With These Tips

Source: Marketing Land www.marketingland.com

Writer: Joanna Lord

Let's face the facts: customer lifecycle marketing is hard. Traditionally, the acquisition stage of the customer funnel kept marketers busy, but it appears the tides are turning - the majority of marketers interviewed in a recent 2014 State of Marketing survey said retention and re-engagement are now a key focus. Here Are a few great tips to re-engage your customers.

Customer engagement
So, how can we re-engage our past customers? There are a number of authentic and mutually beneficial ways to reach out and reconnect with those customers that have departed - cancelled their product subscription, uninstalled your app, etc. Let's jump into some of the more popular ones.

Survey Them
While most companies have a survey on their cancellation page, don't forget that you can also email past customers and request more feedback. You can ask them why they cancelled or what suggestions they might have for your company. Members that cancelled have a wealth of knowledge that can help steer your product and engineering efforts.


CLICK HERE to read more excellent business tips in our Business Opportunities Blog


Mon, 20 Feb 2017 01:03:30 +0000 Bizop Team

Becoming sober is hard enough, but assimilating yourself into a new life can be daunting in more ways than one.

Naturally, you will have gone through withdrawal symptoms, and overcome all the cravings you feel for a quick drug or alcohol fix. In fact, emerging from rehab treatment and into an everyday work life has been likened to stepping out of a cave. Undoubtedly, it is a transition process that requires many steps, adjustments, and resolutions in order to succeed.

If you are recently out of recovery, whether you manage a business or work as an employee, you'll want to make sure you begin on the right path. You have been given a second chance and it is important that you approach it in good stride.

The Importance of Working

Getting busy is a big deal. It is actually a necessary part of long-term recovery. Being self-sufficient and having a steady pay-check is essential to building your self-esteem. But it's more than that.

Davide Gerrard, expert adviser at Addiction Helper says, ''Addiction is typically a disease of isolation and idleness, the less busy you are, the more likely you are to relapse.''

It is therefore important that people who are in recent recovery integrate themselves back into society. Getting a new job, starting a new project, and meeting new groups of friends are positive ways to promote sobriety and start life in long-term recovery.




Here are some particular ways to assimilate into the work lifestyle:

  1. Start gently

Be careful of launching yourself into your new role with over-enthusiastic vigour. Many people, in an attempt to prove they are past their addiction, start off taking the bull by the horns, only to burn out after a while.

You may feel excited and eager to begin, but take some time to meld in carefully. If you are self-conscious of people around, you'll be setting yourself up for failure. Your recovery is for you alone. It's a good idea to live life to its fullest, but don't take more than you can handle. Besides, a lot may have changed while you were away, and you'll need some time to adjust.

  1. Make up for the past

If you are resuming at the same place where you worked prior to recovery, there is a chance you may have built up grudge among colleagues or employees. Whether it's something you said or did, find time to make up with the affected persons so there is no 'bad blood'.

Some, (if not all) rehabs have a 12 step programthat includes making amends for mistakes caused as a result of your dependence on the substance. No matter how happy they are to see you, note that you may often notice the effect of old wounds in your colleagues' behavior towards you. Find out ways to right any wrongs you caused in the past.

Untitled2 300w" sizes="(max-width: 590px) 100vw, 590px" />


  1. Find out what is expected of you

Communicate with your colleagues at work. Let them know you are open to discussion and feedback. Avoid referring to your substance abuse in the office. After the initial makeup, focus squarely on your work objectives. If you work with a group, try to understand what each member is supposed to do, and delegate responsibilities the best way you can.

Conversely, meet your boss and discuss your new expectations and any challenges you may have in achieving them. If you run a business, do the same with your partner or colleague; ask for feedback. Having a checklist of your goals to make it easier for you to accomplish them.

  1. Take on new projects

After you have settled in for a while and you feel more comfortable in your work environment, you may volunteer to participate in social projects. If your company is not involved in any charity activities such as community development, get involved as a way to give back to society. Additionally, it can help you build your own self-esteem as a coach or mentor.

Addiction usually leaves a vacuum in one's life, and joining a good cause is one way to fill it with something constructive. Pick something fun and interesting.

New projects or hobbies are always a great idea, especially if it is likely to keep you from straying towards past behavior.

  1. Make new friends

Post-recovery, it is always recommended to evaluate the previous friends you had. Were they also users? Did associating with them fuel your addictive behavior? At your work place, consider these points when establishing new relationships, even if they are on the job. Who's to say you won't be tempted for an after-work drink someday?

The importance of making sober acquaintances is critical to your success in recovery and path to long-term sobriety.

The business environment can be demanding, and if pressures from the previous job caused you to start using, it may be advisable to seek new opportunities elsewhere. Ensure that you maintain contact with a professional to discuss such issues.


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.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.2
      * Set USERAGENTNAME = FoswikiHeadlinesPlugin/2.21.2

  • 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

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Check if above examples show a news feed instead of variable.

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)
Release: 2.21.2
Version: 6822 (2010-03-21)
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
Home: Foswiki:Extensions/HeadlinesPlugin
Support: Foswiki:Support/HeadlinesPlugin
Topic revision: r1 - 2009-02-13, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback