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 DefaultSorted ascending
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
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
limit="12" Maximum number of items shown Global LIMIT setting
refresh="60" Refresh rate in minutes for caching feed; "0" for no caching Global REFRESH setting
href="..." (Alternative to above) N/A
"..." source of RSS feed; this can be an url (starting with http) or a web.topic location for internal feeds None; is required

The header and format parameters might also use variables rendering the dc, image and content namespace information. Note, that only bits of interest have been implemented so far and those namespaces might not be implemented fully yet.

Rendering the dc namespace

The following variables are extracting the dc namespace info, that could be used in header and format. Nnote, that some of the variables are already used above. This is done by purpose to use different feeds with the same formating parameters. If there's a conflict the non-dc tags have higher precedence, i.e. a <title> content </title> is prefered over <dc:title> content </dc:title> .

  • $title: channel/article title (dc:title)
  • $creator: channel creator (dc:creator)
  • $subject: subject text; this will also add an image according to the subject hash list, see above (dc:subject)
  • $description: ... (dc:description)
  • $publisher: the channel/article publisher (dc:publisher)
  • $contributor: ... (dc:contributor)
  • $date: ... (dc:date)
  • $type: ... (dc:type)
  • $format: ... (dc:format)
  • $identifier: ... (dc:identifier)
  • $source: ... (dc:source)
  • $language: ... (dc:language)
  • $relation: ... (dc:relation)
  • $coverage: ... (dc: coverage)
  • $rights: ... (dc: rights)

Rendering the image namespace

An image:item is converted into an <img> tag using the following mappings:

  • src: image url (rdf:about attribute of the image.item tag)
  • alt: image title (title)
  • width: image width (image:width)
  • height: image height image:height)

Rendering the content namespace

The variable $content is refering to the <content:encoding> content </content:encoding>.


Slashdot News


  header="*[[$link][$title]]:* $description" 
  format="$t* [[$link][$title]]"
to get the latest Slashdot news as a bullet list format:

Business Opportunities Weblog


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

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

Wed, 20 Nov 2019 22:56:28 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Wed, 20 Nov 2019 22:56:25 +0000 Mel Martinez

The Farm Bill of 2018 made it federally legal to farm industrial hemp in the United States. Since then, the CBD Gummy business has been booming. The CBD industry has grown exponentially and new products are popping up everywhere. This lucrative market is expected to continue growing into the foreseeable future. So, if you want to take advantage, then now is the time to get started.

But getting started can get a little complicated. Laws regarding the sale and production of CBD vary by state. Banks may hesitate to provide financing for your startup costs. In addition, issues surrounding the quality of your CBD product must be solved and marketed with integrity. 

300w, shallow-focus-photography-of-cannabis-plant-606506-768x432.jpg 768w, shallow-focus-photography-of-cannabis-plant-606506-696x392.jpg 696w, shallow-focus-photography-of-cannabis-plant-606506-1068x601.jpg 1068w, shallow-focus-photography-of-cannabis-plant-606506-747x420.jpg 747w, shallow-focus-photography-of-cannabis-plant-606506.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" />
Photo by Michael Fischer from Pexels

In order to build a reputable brand, you must ensure that you are selling only the best, highest quality products, such as Verma Farms CBD Gummies. Verma Farms is a stand-out company that uses certified organic, non-GMO, domestically grown hemp. A third-party lab certifies the purity and potency of their product. Like them, your new CBD gummy company's reputation requires that you deal with suppliers that have the highest standards in the industry.

Learn The Legalities Of Your State

Even though CBD products are legal on a national level, states are still allowed to create their own laws and regulations concerning manufacture and sale. In order to get started, you need to understand the laws in your state and how to work with them. Many states welcome the new CBD market with open arms. However, in some states, hemp farming and hemp products are still highly restricted. In others, CBD is only legal with a prescription which means very strict standards about who can sell CBD and exactly what they sell. Do your research or hire an attorney to help you navigate the complicated system that will likely continue to evolve.

CBD Gummy Business Plan

Once you have a grasp on legal matters, a business plan is essential. You need to have a plan for how you will stand out in a sea of competitors, as well as how you will manage your business in a rapidly changing environment. This is especially true if you need financing to get up and running. Banks are reluctant to work with companies in this new market. Having a solid business plan will help you get your foot in the door.

Find a Bank

Some CBD businesses are bootstrapping their up-front capital. Still, this business does require a significant up-front investment. Insurance and permitting can be expensive. Consider hiring an attorney to help you approach a financial institution. Finding a lender can be challenging, but a search online can help you get an idea of which ones may be willing to work with you.

Payment processing is also an issue, as many banks will not work with companies generating their income from CBD. Also, credit card companies are constantly changing and shifting their policies regarding transactions related to hemp products. You must verify that the bank handling your money is open to working with your type of business.

Find CBD Suppliers

As mentioned earlier, you want to make sure you are only doing business with the most reputable companies in the field. Ideally, your CBD gummy suppliers will use extracts from hemp grown in the United States where regulations are strict and controlled. This ensures that you do not end up selling products that have additives, solvents, or other dangerous ingredients.

Because the regulation of CBD products varies, there is room for all kinds of inconsistencies to flood the market. Ensure that your suppliers are transparent with their practices. The best suppliers have their products tested by a third-party lab and share test results with consumers. It is essential to make sure that you are selling products free of harmful materials and consistent in potency and purity.

Establish Your CBD Gummy Brand

Whether you are selling your CBD gummy products in a store or online, brand recognition is how your customers will recognize you. Do some research on what is already out there and find a way to make your company stand out. 

Decide on your target audience. Who you intend to market to will drastically affect every branding choice that comes after. Do you want to market to athletes? According to the website, Entrepreneur, they are leading the conversation about the use of CBD in order to treat injuries and pain. Or maybe you want to market to seniors. This is another rapidly-growing consumer market because of the potential health benefits CBD has to offer an aging population. 


When you figure out who you would like to market to you can start thinking about how you will brand yourself. Your company name, appearance, and culture all depend on who you want your message to reach. 

Get Yourself Out There

Most likely, your primary method of reaching customers will be through online shopping. This poses a bit of a challenge because there are thousands of CBD companies flooding the internet. In addition, social media outlets have very strict rules about paid advertising for hemp products.  Therefore, a marketing plan that gets you to show up in organic searches is essential. 

Get other websites to link to your site. Post regularly on your company's blog. Get customers to review your products and write testimonials. Make your website appealing, inviting, and easy to use. 

Final Thoughts

This is an exciting time to start a CBD gummy business. Doing it right is the key. You need to know the laws and make sure you are setting your standards high.

The post CBD Gummies: A New Business Venture in a New Industry appeared first on Business Opportunities.

Wed, 20 Nov 2019 21:06:21 +0000 Carrol Strain
Featured image from Burst on Pexels

Whether you’re a business owner or not, there are certain services we all depend on. We consider five of these essential services in this article.

Plumbing and Sewage Services

Have you ever considered how difficult it would be to live without clean water? Worse yet, can you imagine living without plumbing when you need it?

Many of us have become accustomed to modern life. In fact, many of us could never imagine ourselves without access to essential services such as plumbing and sewage. Certainly, easy access to plumbing and sewage makes our lives much easier.

And while most of us give these amenities little thought, they certainly constitute essential services. For one thing, they keep our homes and businesses clean and sanitary. However, most of us probably take them for granted unless something breaks down.

EPA Regulations

EPA regulations guide the actions of some of the essential services we deal with every day.

The EPA is a regulatory agency of the US government. It was established in 1970 by President Richard Nixon. The acronym EPA stands for Environmental Protection Agency. The role of the EPA is to to ensure that the environment we live in is actually livable. As one example, the EPA regulates water.

This agency works with the essential services that test our water system for contaminants. The EPA has set a standard or limit for the allowed number of contaminates they will allow in our water system. While our water system is not perfect, the EPA guarantees us that our water system will not go beyond a certain level of contaminants that can affect human health.

Business owners and other individuals who want a better water system can go a step further by ordering water filters and such. You can also reach out to water treatment companies such as Merus for an economical solution. Those who do so may well consider these companies to be essential services that make their lives easier.

Pest Control Services

Imagine going to sleep expecting to get a good night’s rest, only to be awakened by bed bugs biting your ankles. Or perhaps you have discovered that cockroaches have infested your kitchen.

Many people are squeamish about bugs. Moreover, many insects carry germs. We simply don’t want to share our homes and businesses with them.

For this reason, many people consider pest control companies to be essential services. Pest control companies allow you the freedom of sleeping easily at night, enjoying your home during the day, and offering a bug-free place of business to your customers.

Pet Grooming Services

For pet lovers, the ability to have access to pet grooming services is priceless. Pet grooming services will pamper your pet by bathing it, trimming its fur, cleaning its teeth, and more. If you have a pet, your pet grooming service is likely near the top of the list of your essential services.



Nearly everyone, regardless of age and background, has experienced having to go to the hospital at some point in their life. Hospitals offer services that allow people to be diagnosed and treated for illness or pain. For example, hospitals help women to give birth and treat patients suffering from cancer. Anyone who has ever had to be treated at a hospital appreciates the services they offer.

Feeling Grateful for Services We Usually Take for Granted

Every now and then, everyone should take time out to reflect on how privileged our lives are, especially if we live in the developed world. So take a moment today to express gratitude for these essential services.

The post Essential Services: 5 We Cannot Live Without appeared first on Business Opportunities.

Wed, 20 Nov 2019 16:33:20 +0000 Carrol Strain
Featured image from Kin Pastor on Pexels

In this article, we take a look at four useful ways of funding your startup. And you won't have to make any sacrifices with the methods we discuss below.

Getting Your Startup Off the Ground

Finding an interesting business idea is a daunting process. You might spend months or even years to find that one idea you really believe in. First, you identify the industry you'd like to work in. Then you conduct intensive market research to find out of your idea will attract customers. Finally, you talk with friends and colleagues who might be able to help you with pursuing your goals.

Probably, you encounter your own fears of failure and even of success. This is normal. You know you’re going to have to work hard. People often feel afraid at the idea of starting a business. Take heart from knowing that once you find the courage to dive in, your focus will shift from your fear to making your business a success.


However, there is another thing that can become a hurdle for you. That's the lack of money. Some people have enough money in their savings account to fulfill their start-up dream. On the other hand, many entrepreneurs don't have enough money to pursue their goals. Fortunately, there are several ways of funding your startup.

In this article, we take a look at four useful ways for funding your startup. And you won't have to make any sacrifices if you use the methods we discuss below.

Crowdfunding Your Startup

Creative entrepreneurs have looked to crowdfunding as a valuable option for funding startups years. These individuals don't waste their time trying to find angel investors who will invest hundreds of thousands of dollars into their ventures.

Instead, they raise money through smaller contributions from hundreds of people. Crowdfunding could be the ideal solution for you, too.

One of the main advantages of crowdfunding is that it can help you to market your product long before you officially launch it. For example, you can analyze the feedback you get from your crowdfunding investors. This can help you to determine if your idea will work in the marketplace or not. Indiegogo and Kickstarter are two popular crowdfunding websites where you can raise funds for your startup business.

But first, you need to understand the terms and conditions of these websites before sharing your idea. For example, Kickstarter only accepts ideas from individuals who are from certain countries. Unfortunately, residents of Singapore are excluded from using Kickstarter. On the other hand, Singapore residents can accept help from a business partner who lives in a country that Kickstarter does not exclude.


If that’s not an option, getting a grant can be a great way of funding your business in Singapore. The Singapore government makes efforts to encourage small businesses that are show promise of bringing change to their industries.

First-time entrepreneurs can apply for the Spring Singapore ACE grant. For every S$3 the entrepreneur raises, Spring Singapore will match S$7, up to S$50,000. In other words, if you were to raise S$21,429, you would receive the maximum grant of S$50,000.

Spring Singapore will give the grant over two to three tranches. Moreover, they won't take equity in your organization. However, an even more beneficial benefit of this method of funding your startup is that it helps you to find a suitable mentor for your startup in the first year.

Depending on your sector or industry, you can add on several other local grants that are especially designed for startups. For example, Spring Singapore offers clean and high-tech companies additional funding schemes. Alternatively, social enterprises can take advantage of the ComCare Enterprise Fund.

One or more of these grants can give your startup a great financial boost. Therefore, do some research to find detailed information about grants available in Singapore.

Incubators and Accelerators

You’ll be more likely to obtain seed funding if you can get your startup into a business incubator or accelerator. There is a difference between the two. For instance, they are both for organizations that are just starting out. However, an accelerator requires that you work with a mentor for a set period before you can graduate.

Unfortunately, there are only a few seed funding programs available nowadays. However, you can get targeted resources and support for your startup by joining an incubator or an accelerator.

This is because your chances of succeeding with your startup business are much better when you give yourself opportunities to work with successful entrepreneurs. Tech companies in particular can benefit from working with accelerators and incubators in Singapore.


If your friends and family members can’t help to fund your startup, you could turn to a bank or licensed money lenders to get a loan. With a loan you can retain full control over your company because you wont have to turn over any equity to investors.

To give one example, OCBC has designed a collateral-free loan program for startups. The loan, known as the OCBC Business First Loan, provides an entrepreneur with access to $100,000. To qualify, you need to have started your business within the last six months or so. However, you must have a guarantor. If you are a beginning entrepreneur with an untested business model, be very careful about taking this loan.

Similarly, think carefully before taking any loan if you don’t expect to begin bringing in revenue in the short or medium term.

Another useful option for funding your startup, however, is taking a personal loan. Some banks such as Standard Chartered CashOne offer a low minimum income requirement with attractive interest rates. Similarly, the ANZ MoneyLine Term Loan offers interest rates as low as 6.6% per year.


Entrepreneurs in Singapore can now fulfill their startup dreams with the help of these funding possibilities. To find out more, conduct some research and find the funding choice that works best for you. We recommend choosing an option that comes with lower risks so you will be better able to focus on growing your business.

The post Creative Ways to Fund Your Startup appeared first on Business Opportunities.

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, for example, %HEADLINESPLUGIN_SHORTDESCRIPTION%. Note: Don't modify the settings here; copy and customize the settings in Main.TWikiPreferences. For example, to customize the USERAGENTNAME setting, create a HEADLINESPLUGIN_USERAGENTNAME setting in Main.TWikiPreferences.

  • One line description, shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Show headline news in TWiki pages based on RSS and ATOM news feeds from external sites

  • Refresh rate in minutes for cached feeds. Disable caching: 0, default: 60
    • Set REFRESH = 60

  • Maximum number of items shown. Default: 100
    • Set LIMIT = 100

  • Use LWP::UserAgent, or fallback to TWiki's internal getUrl() method. Default: yes

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

  • Name of user agent. Default: TWikiHeadlinesPlugin/2.21
      * Set USERAGENTNAME = TWikiHeadlinesPlugin/2.21

  • Default header: (variables are explained in the syntax rules)
      * Set HEADER = <div class="headlinesChannel"><div class="headlinesLogo"><img src="$imageurl" alt="$imagetitle" border="0" />%BR%</div><div class="headlinesTitle">$n---+!! <a href="$link">$title</a></div><div class="headlinesDate">$date</div><div class="headlinesDescription">$description</div><div class="headlinesRight">$rights</div></div>

  • Default format of one item: (variables are explained in the syntax rules)
      * Set FORMAT = <div class="headlinesArticle"><div class="headlinesTitle"><a href="$link">$title</a></div>$n<span class="headlinesDate">$date</span> <span class="headlinesCreator"> $creator</span> <span class="headlinesSubject"> $subject </span>$n<div class="headlinesText"> $description</div></div>

  • Values taken from configure: (only supported if CPAN:LWP is installed)
    • $TWiki::cfg{PROXY}{HOST} - proxy host, such as "proxy.example.com";
    • $TWiki::cfg{PROXY}{PORT} - proxy port, such as "8080";
    • $TWiki::cfg{PROXY}{SkipProxyForDomains} - domains excluded from proxy, such as "intra.example.com, bugs.example.com";

Style sheets

The default HEADER and FORMAT settings use the following styles. See the style.css file defining the default CSS properties (indentation illustrates enclosure).

  • headlinesRss: output of the HeadlinesPlugin (div)
    • headlinesChannel: channel header (div)
      • headlinesLogo: channel logo (div)
      • headlinesTitle: channel title (div)
      • headlinesDate: channel date (div)
      • headlinesDescription: channel description (div)
      • headlinesRight: channel copyright (div)
    • headlinesArticle: one news item (div)
      • headlinesTitle: article title (div)
      • headlinesDate: article date (span)
      • headlinesCreator: author of article (span)
      • headlinesSubject: subect category of the article (span)
      • headlinesText: article text (div)

Plugin Installation Instructions

  • Download the ZIP file
  • Unzip it in your twiki installation directory. Content:
    File: Description:
    data/TWiki/HeadlinesPlugin.txt plugin topic
    pub/TWiki/HeadlinesPlugin/style.css default css
    lib/TWiki/HeadlinesPlugin.pm plugin perl module
    lib/TWiki/HeadlinesPlugin/Core.pm plugin core
    Check if above examples show a news feed instead of variable.
  • Optionally, run HeadlinesPlugin_installer.pl to automatically check and install other TWiki modules that this module depends on. You can also do this step manually.
  • Alternatively, manually make sure the dependencies listed in the table below are resolved.
    Digest::MD5>=2.33Required. Download from CPAN:Digest::MD5
    LWP::UserAgent>=5.803Optional. Download from CPAN:LWP::UserAgent

Plugin Info

Plugin Author: TWiki:Main.PeterThoeny, TWiki:Main.MichaelDaum
Copyright: © 2002-2009, Peter Thoeny, TWIKI.NET; 2005-2007, Michael Daum http://wikiring.de
License: GPL (GNU General Public License)
Plugin Version: v2.21 - 12 Feb 2009
Change History:  
12 Feb 2009: {PROXY}{HOST} supports domain with and without protocol -- Peter Thoeny
06 Feb 2009: added {PROXY}{SkipProxyForDomains} configure setting, added USERAGENTNAME plugin setting -- Peter Thoeny
11 Dec 2008: added {PROXY}{HOST} and {PROXY}{PORT} configure settings -- Peter Thoeny
13 Sep 2007: fixed parsing of content:encoded
23 Jul 2006: improved atom parser; if a posting has no title default to 'Untitled'
26 Apr 2006: added lazy compilation
10 Feb 2006: packaged using the TWiki:Plugins/BuildContrib; minor fixes
03 Feb 2006: off-by-one: limit="n" returned n+1 articles; make FORMAT and HEADER format strings more robust
23 Jan 2006: released v2.00
05 Dec 2005: internal feed urls must be absolute
02 Dec 2005: added web.topic shorthand for internal feeds
29 Nov 2005: fixed CDATA handling
21 Nov 2005: added ATOM support; extended RSS support; added dublin core support; added content support; optionally using LWP to fetch feeds to follow redirections; corrected CPAN dependencies ; recoding special chars from html integer to entity encoding to increase browser compatibility; added css support; use getWorkArea() if available
11 May 2005: TWiki:Main.WillNorris: added DevelopBranch compatability
31 Oct 2004: Fixed taint issue by TWiki:Main.AdrianWeiler; small performance improvement
29 Oct 2004: Fixed issue of external caching if mod_perl or SpeedyCGI is used
02 Aug 2002: Implemented caching of feeds, thanks to TWiki:Main/RobDuarte
11 Jun 2002: Initial version (V1.000)
Perl Version: 5.8
TWiki:Plugins/Benchmark: GoodStyle 100%, FormattedSearch 99.5%, HeadlinesPlugin 94%
Plugin Home: TWiki:Plugins/HeadlinesPlugin
Feedback: TWiki:Plugins/HeadlinesPluginDev
Appraisal: TWiki:Plugins/HeadlinesPluginAppraisal

-- TWiki:Main.PeterThoeny - 12 Jan 2009
-- TWiki:Main.MichaelDaum - 13 Sep 2007

Topic revision: r1 - 13 Feb 2009 - 03:55:45 - TWikiContributor
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.HeadlinesPlugin