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:

Mon, 22 Jan 2018 23:44:22 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Mon, 22 Jan 2018 00:56:22 +0000 Bizop Team

Moving into a New Home or Office? Consider These 5 Home Cleaning Tips

When you move into a new home or office, you should take a few minutes to take inventory of all the items that need to be cleaned. It is ideal to do this prior to moving your items in, as you will be able to reach more surfaces and get a more thorough clean in this way. However, if this is not possible, you can clean around your personal belongings to ensure that everything is spic and span. To make things easier, get help from a professional service such asHome Cleaning NYC. This is a great way to make sure you get this job done correctly.


1. Get the Kitchen Spotlessly Clean

When you look at the kitchen, remember this is where you will prepare your food. Take notice of any smells or stains that need to be addressed. In most cases, this will likely be the room you spend the most time cleaning. Focus on the counters and cabinets and drawers, as well as the floors and other surfaces.

The best way to make sure all of the hard-to-reach places in your new home are adequately cleaned is by working with professionals. They have the home cleaning knowledge and the proper supplies to get your kitchen clean and tidy.




2. Pay Attention to Your Appliances

For superior results, think ''heavy duty cleaner'' when you attack the appliances. However, you could choose to go the more natural route. If you do, a good way to clean these surfaces is with baking soda and vinegar. Whichever method you choose, do ensure that you clean these well.

Appliances in your home or office could include refrigerator, range top, oven, dishwasher, and microwave as well as other appliances. A thorough home cleaning will also include the hood and fan over the range top, as years of grease can accumulate here, causing odors.

Rather than having to tackle all of this hard work on your own, you may want to hire a home cleaning service. While it will cost you a bit of money, it will be well worth the investment.


3. Scrub Your New Bathrooms

The bathrooms are the other areas of your new home or office that are likely to take some time to clean. You need to do tackle this facet of home cleaning with gloves and a strong disinfectant. This will ensure that there are no bacteria or other germs hanging around from the last occupants.

Be sure to clean the toilets, both outside and inside. Then thoroughly clean the sinks and the showers.

Failing to adequately clean your new home's bathrooms can lead to foul odors and issues with germs. If you are unfamiliar with how to clean the surfaces in a bathroom, it is probably best to let a professional home cleaning service handle this task for you.



4. What Is the Condition of the Walls?

Yes, you should wipe down all surfaces in your new home or office, including the walls. You can use a bucket with warm soapy water to do this. This will allow you to easily wash away fingerprints, smudges, dirt, streaks and more. Also, use a broom to knock down cobwebs in the corners, and always dust the baseboards. This will help your new residence look and smell cleaner.


5. Adequately Scrub Your Floors

Have you ever walked into a home where your shoes literally stick to the floor? If the floors in the new home or office you are moving into feel sticky, it is essential to clean all the floors well.

For hardwood, tile or linoleum you can use a bucket with baking soda and vinegar. This will help to remove any film that may have built up on the surface. You can also go with a traditional store-bought cleaner. That’s up to you.

Be sure to vacuum the carpets as well. If there are bad stains or odors you might want to consider renting a carpet shampooer. If you’re renting, talk to your landlord about the issue.


Choose the Right Service

Before hiring a cleaning service to help you with cleaning your new home or office, you need to do a fair amount of research. So look around, compare prices and online ratings, and choose the best service you can find.

The post Moving into a New Home or Office? Consider These 5 Home Cleaning Tips appeared first on Business Opportunities.

Mon, 22 Jan 2018 00:51:55 +0000 Carrol Strain

Impressing Clients of Your New Business Right off the Bat

If you decide to start your own new business, you know that it won't take place in a vacuum. Whether you're providing services of some sort or you’re selling products, it's going to take interaction with clients to get your business off the ground.

That can be a difficult task when you're facing off with competitors who are already entrenched in your market. As a result, your ability to impress your clients is paramount. This is especially true when you’re trying to get a firm footing in the early stages of your company.

Impressing clients requires trying to see things from their point of view. If you were in their shoes, what are the things that might impress you? Part of this requires delivering just the right perks without coming off as desperate.

You also need to play amateur psychologist and try to glean from their questions and demeanor exactly what they're hoping to get out of meeting with you. Knowing how to sell yourself is a skill that some people inherently possess. Yet anyone can learn some effective techniques in this area as well.

Don't ever underestimate the power of luxury Swiss watches on your wrist as an indicator of class and business seriousness. Here are some of the other ways you can make your clients believe in you, even when you're just starting out in the business world.




Confidence Breeds Confidence

If you can convince yourself that you're the best person for the job, chances are you'll convince the client as well. You need to walk into the meeting with the idea that your competitors have nothing on you and your startup. Your potential client will see any wavering on your part as a sign of weakness. Then, they might start to take your cue and doubt whether you're the right company or person for the job. Just think of it in terms of mind over market share when you make your pitch.


Prepare Your Case

Consider each meeting with potential clients to be somewhat akin to a lawyer who is pleading before a jury. Although, in this case, it’s a jury of one. Your job is to convince that jury, beyond a reasonable doubt, why they should hire your business.

Preparation is the key here. Not only do you have to be prepared to delineate all your strengths, you have to be ready for them to question your weaknesses. If you’re prepared, though, you'll have the responses lined up to parry the attack and show them how your new business will outshine the rest-even your more well established competitors.



A Little Swag Never Hurt

If it comes down to an even match, the client will be looking at the little things as deciding factors between you and another company. And if you can come up with some sort of gift item that's unique, classy, and, most importantly, provides a reminder to the client of what you represent, you might just break that tie in your favor.

It's not impossible to break through with clients, even in the early stages of your new business. A strong game plan and the confidence to follow it through can make all the difference.

The post Impressing Clients of Your New Business Right off the Bat appeared first on Business Opportunities.

Mon, 22 Jan 2018 00:51:53 +0000 Carrol Strain

Why Your Smile Is Important in Making Good Business Deals

Is your smile working for your business?

When you’re doing business with another company or a client, how you look and how you carry yourself are very important. These can affect not only your credibility but also your confidence when you’re negotiating and making deals. One facial feature that people commonly overlook in themselves that can have a major effect on their confidence and their business success is their teeth.

Your smile says a lot about you. What does your smile say?




A Great Smile Starts with Great Teeth

Your mouth is where the words that can lead to your success come from. It's what enables you to negotiate better terms or sell a product or service.

It is therefore important to keep your mouth healthy and clean. Your teeth’s appearance reveals how well you take care of your oral hygiene.

A good set of teeth makes for a great smile. And your smile is important in doing business. A great smile shows comradeship and makes it easier for people to trust and relate to you.


Don’t Let Bad Teeth Hold You Back

A bad set of teeth can affect your confidence in a negative way. It can also be the cause of misunderstandings and misinterpretations because you neglect to give your customers a smile.

However, having a bad set of teeth isn’t the end of the world for you and your business. Schedule a visit to the orthodontist for a checkup and find out what you can do to fix them. A good orthodontist can easily turn your teeth into straight pearly whites, making your smile shine. With a winning smile you’ll have more of what you need to win clients over.


Thinking Tinsel Teeth?

Orthodontists often fix misaligned teeth by means of traditional metal wires and braces. If you go this route, you’ll likely find yourself feeling uncomfortable when you’re speaking with clients.

Not only that, but having these foreign objects in your mouth all the time is sure to be uncomfortable at first. It takes some getting used to.

You can't move your mouth properly, so never mind about that great smile for a while. Plus, you’ll have a hard time eating, especially after the orthodontist periodically tightens the metal wires.

What’s more, there is no set time that determines when your teeth have adjusted fully. This can affect your interactions for a long time to come, if you choose to stop meeting with clients while you’re adjusting to wearing braces. You’ll likely miss lots of opportunities in this case.



Think Again

However, there is a better option, and that is Invisalign. Invisalign is the most advanced clear aligner system in the world. Instead of having metal braces on your teeth to make them straight, you can opt for this clear alternative.

Invisalign offers comfort and function. These clear braces are also completely removable. This means you can remove them for social gatherings and important business meetings if you feel like they’re a hindrance. However, since they’re clear, most people won’t notice that you're wearing braces even if you choose to keep them in your mouth.

Another advantage of Invisalign is that you can enjoy all kinds of food. You can eat what you want when you want to eat it. While you have to steer clear of some foods while you’re wearing traditional metal braces, because they can detach the braces or unfasten the metal wires, with Invisalign you are free to eat anything you’re craving. Just take them off if they feel uncomfortable, and return them to your mouth after you’ve cleaned your teeth.



So don’t let bad teeth keep you from succeeding in business. Improve your smile by taking care of your mouth and you’ll be one step closer to success.

The post Why Your Smile Is Important in Making Good Business Deals 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

Current Tags:
create new tag
, view all tags
Topic revision: r1 - 2009-02-13 - 03:55:45 - TWikiContributor

Computational Fluid Dynamics and Turbulence Mechanics
@ the University of Manchester
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