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


  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:

Tue, 17 Apr 2018 23:52:36 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Tue, 17 Apr 2018 04:54:01 +0000 Bizop Team

Every growing business needs support from a comprehensive suite of mostly digital services. These services streamline mundane, non-core processes and free up scarce resources for higher-value efforts, like product development.

Early-stage businesses face myriad threats to growth. Some prove temporary. Others are systemic bottlenecks that erode startups' competitive positions and cripple long-term promise.

Some of these threats trace back to founders' understandable but misguided efforts to control overhead costs. They were wise to try and conserve capital for growth-oriented initiatives. However, such choices can lead to a penny-wise, pound-foolish approach that may prove counterproductive down the road.

Why? Because overhead isn't just about keeping the lights on and the Internet connected.

No matter what your company does, these five essential digital services should probably be on its list.


1. Accounting Software

You're not still keeping books by hand, are you?

You don't need to pay an offsite accountant (or internal accounting employee, assuming you're still relatively small) to do it for you, either. All you need is a robust cloud-based accounting software suite that empowers you or a subordinate to keep accurate financial and tax records. Heck, if you (or said subordinate) have the time, you might be able to do your taxes yourself and save a few hundred bucks every April.


2. Secure Cloud Storage

Tired of juggling dozens of external storage media or hopping from laptop to laptop in search of that one elusive file? You need secure cloud storage that keeps your mission-critical files in one place without leaving them exposed for all the world to see. It's way cheaper than you think, and a whole lot less time-consuming than dealing with your current bring-your-own-media mess.




3. Turnkey Legal Services

Basic legal maneuvers, such as filing articles of incorporation or generating employee contracts, doesn't require a full-time lawyer on staff. In fact, your company probably doesn't need a single human point of contact for its legal needs at all. Cloud-based legal service providers such as LegalZoom make it easy and cheap to execute background tasks that keep your firm right with the law. If you need more help, you can tap these services' behind-the-scenes human lawyers. (Yes, they exist.)


4. Digital Marketing Automation

No matter what business you're in, the benefits of digital marketing should be obvious. The trick is indulging in them without monopolizing your team's scarce time.

That's where digital marketing automation tools come in. However your marketing plan looks on the ground, it's likely to benefit from straightforward solutions like automated email marketing, CRM suites, and social media scheduling software. It's not rocket science, but it will save you a boatload of time and money.



5. Malware Protection

Is your company network vulnerable to compromise?

Here's a hint: the answer is yes, always. While there's no way to completely zero out the threat, you can take meaningful steps to keep your most sensitive data out of the hands of those who would do you harm. The first step, if you haven't taken it already, is to invest in a robust, comprehensive malware protection suite that regularly updates to address constantly evolving cyber-threats. While you're at it, invest in a virtual private network that automatically encrypts outbound data traffic.


What Digital Services Is Your Business Missing?

If your business isn't yet using one or more of the services on this list, don't panic. You're not yet doomed to fail.

But you probably should take a closer look at what your business is missing and what you can do to address it. Maybe you'll determine that you don't actually need some of these services. Or maybe you'll identify others to add. Only you can answer these questions, and there's no time like the present to get started.

The post Every Growing Business Needs These 5 Essential Digital Services appeared first on Business Opportunities.

Tue, 17 Apr 2018 02:18:19 +0000 Bizop Team

Regardless of the type of business you want to build, whether it’s an automobile business or any other kind of business, one thing remains certain: planning and organization are essential.

Additionally, you’ll need an enormous amount of strength and determination, plus an undying willingness to sacrifice all your time and energy.

“Would you like me to give you a formula for success? It’s quite simple, really: Double your rate of failure. You are thinking of failure as the enemy of success. But it isn’t at all. You can be discouraged by failure or you can learn from it, so go ahead and make mistakes. Make all you can. Because that’s where you will find success.”

-Thomas J. Watson (Chairman and CEO of IBM)


In this post are three questions to ask yourself before you begin building your automobile business. You can use these questions now to develop momentum as you begin build your business. Use them later to infuse your business with the strength to endure for years to come.


1. Who Are You Selling To?

In order to have a successful business, you've got to think like an entrepreneur. What’s more, it won’t hurt to have the courage of one, either.

One way in which entrepreneurs differ from everyone else is this: They have laser-like focus for identifying the types of people who have a problem. And then they develop a service or a product that solves that problem.

This is called ''target market research,'' and it is incredibly time-consuming. It is a necessary step, though, as building a business that no one needs is like using jalapeño peppers to fish. No one's going to bite.




2. How Much Do You Need to Invest?

How much funding will you need? Without enough finances or profits, businesses go belly up.

So go to work to discover exactly how much money you’re going to need for your automobile business. For example, you might know the expenses for items you’ll need for the next couple of months. But do you know what you’ll need in six months? A year? Five years?

Here's a list of possible start-up costs for your automobile business. Feel free to add more items as they pertain to your particular business:

  • Fixtures, equipment and installation
  • Manufacturing equipment
  • Decorating and remodeling
  • Licensing and professional fees
  • Inventory and record-keeping
  • Hiring a recruiting team
  • Monthly expenses due to wages, salaries
  • Lease and rent expenses
  • Monthly utility bills
  • Advertising costs (a must!)
  • Payments on any loans

The estimated costs for these items can leave your head spinning. If so, seek the advice of an accountant or a lawyer to help you with these matters.


3. Where Will You Find the Funding You Need?

The list above will show you where your money will go.

Contacting a financial institution (or several) will help you to get funding into your business. However, these institutions will only grant you specific loans, such as the SBA 504 Loan, if you have documented proof of making loan payments on time. You will not be approved if your credit history and business history are in bad shape. (This is only common sense when you think about it.)


This Is the Foundation of Your Automobile Business

Develop your answers to these three questions before you even think about organizing a team of mechanics or designers for your automobile business.

That’s because your answers will form the foundation for your business. Build a solid foundation now, before you begin, and your automobile business will keep its doors open for years to come.

We close with the wise and inspiring words of the immortal Walt Disney: ''The way to get started is to quit talking and begin doing.''

The post 3 Questions That Will Help to Make Your Automobile Business a Success appeared first on Business Opportunities.

Tue, 17 Apr 2018 02:07:45 +0000 Bizop Team

A lot of entrepreneurs step into the business world with a new business idea. However, many of them don’t receive the applause they hoped for.

Therefore, if you have a new business idea, take heed. Do some research before you begin. You want to have some idea whether your new business idea will work out or not. The last thing you want to do is waste time and money on an idea that will go nowhere.

For example, if you plan on importing goods from China for your business, you should first find out what goods your target audience is looking for. That’s because you do not want to end up importing goods for which there is no market.

Here are some tips for testing a new business idea before you kick start it:


1. Go with a Prototype First

One great way to test if your business idea will attract attention or not is to introduce a prototype of your product onto the market. This will help you to get feedback from customers. Then, you’ll have some idea of whether anyone likes it or not. Their feedback can tell you what you need to do to make your business idea more promising.

On the other hand, if your business idea is based around a service, you can start by working for free. Try this with friends and family first, and ask them to keep mum about the fact that they’re not paying you anything. In the meantime, you can be collecting case studies and testimonials from your pro bono clients. These can help you to promote your business once you’ve begun taking on paying clients.



2. Investigate the Market

Jumping in blindly is a mistake. Sadly, many entrepreneurs enthusiastically make this mistake. Unfortunately, they often get flushed out by their competitors after realizing too late that they started with a poor idea.

Therefore, it's vital that you first investigate the market before you step in. Research your target audience and learn everything you can about your potential customers.

For example, if you’re making a product for people over the age of 60, you will need to know what percentage of the population is older than that age. Further, you’ll want to learn how many of those older men and women would be interested in buying your product. Beyond these facts, you’ll also want to know about their purchasing power as well as other factors.

This data will help you to understand your target audience better and reduce your chances of failure.


3. Know Your Competition

Another way to test your business idea is to analyze businesses that are in the same niche as yours. That is, know your competition.

Learn all you can from their mistakes as well as their successes.

In this way, you can avoid making the same mistakes they did. However, do not try to replicate someone else's success, but create your own path.




4. Conduct Surveys

Setting up a survey will require some effort on your part. However, the knowledge you’ll gain will help you a great deal. Start by placing polls on your website or your blogs. Take it further by hitting the streets and talking with people face-to-face. Get to know firsthand what people think about the product or service you want to introduce to the market.

Once you have some feedback, you will have a better understanding of the needs of your potential customers. In short, you will know if your product solves a problem for them.


The Verdict

Follow these four suggestions and you will have a pretty good sense about whether your new business idea will work out or not.

The post 4 Things You Can Do to Test Your New Business Idea 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 - 2009-02-13 - 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