The Caboteria / TWiki Web / HeadlinesPlugin (13 Nov 2012, TWikiContributor)

Headlines Plugin

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

Description

This plugin displays RSS and ATOM feeds from news sites. Use it to build news portals that show headline news.

Notes:

Syntax Rules

%HEADLINES{"..."}%

Parameter Explanation Default
"..." Source of RSS or ATOM 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. May 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. May 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
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

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. Note that some of the variables are already used above. This is done by purpose to use different feeds with the same formatting parameters. If there's a conflict the non-dc tags have higher precedence, i.e. a <title> content </title> is preferred over <dc:title> content </dc:title>.

Rendering the image namespace

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

Rendering the content namespace

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

Examples

Slashdot News

Write

%HEADLINES{ "http://slashdot.org/slashdot.rdf" 
  header="*[[$link][$title]]:* $description" 
  format="$t* [[$link][$title]]"
  limit="4"
}%
to get the latest Slashdot news as a bullet list format:

Business Opportunities Weblog

Write

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

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

Wed, 30 Apr 2025 00:05:35 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Wed, 30 Apr 2025 00:05:33 +0000 Carrol Strain

When you're working hard to build strong client relationships, meeting in person is one of the most powerful ways to connect. But if your home isn't completely amazing, you might hesitate to invite people over. In other words, hosting clients might be something you would rather not do.

The good news is you don't need a mansion to host clients. In fact, sometimes a cozy, personal environment can create a better impression. To host clients in a small house, you just need a welcoming attitude and a few simple tricks to make your space feel professional.

Here's how to host clients like a pro, no matter the size of your home.

1. Impress the Clients You're Hosting with Good Food

You can't go wrong when you provide a good meal, and food will take the focus away from the size of your home. When you host clients, if the food is good, it will positively influence their entire experience. Studies have shown that when people eat tasty food, it releases feel-good hormones, like dopamine, serotonin, and endorphins. Sweet foods are especially connected to feelings of pleasure and can lift a person's mood.

You don't have to take your clients out to a restaurant to impress them. You can cook right in your backyard on a barbecue grill. Start with a hearty meal, like sirloin steaks or gourmet burgers, and end the meal with something sweet. Have several dessert options available, like ice cream, mochi, and even a yogurt parfait for clients who prefer to eat healthily. If the meal is good, your client is more likely to feel good about your meeting.

2. Create a Designated Meeting Area When Hosting Clients

First impressions matter, and having a specific client meeting spot will make you look organized and professional, even if you're hosting from a tiny home. Start by choosing your best room to set up for your meeting. This might be your office, living room, kitchen table, or even a nook. Just choose a space that feels good, and if you can get near a window that lets in natural light, that's even better.

Clear the area of personal clutter and add some welcoming touches like fresh flowers or business-related books. Most importantly, make sure there's a table with two chairs, good lighting, and simple décor.

3. Declutter Your Entire Home

Clutter will automatically make your home feel smaller, so don't hesitate to go on a cleaning rampage and declutter your entire home when you plan on hosting clients. Even if you have to store things in plastic tubs and stash them in the closet, don't leave your belongings hanging around in sight. Get rid of piles, whether it's laundry or papers, and aim for a clean, clear hotel lobby look.

If you can't declutter some of your spaces, like your bedroom or garage, keep the doors closed and don't invite your clients into those areas.

RELATED ARTICLE: TIPS TO MINIMIZE ERRORS AND SHOWCASE YOUR SKILLS TO CLIENTS

4. Use Lighting to Your Advantage

Natural light can make even the smallest home feel warm, open, and welcoming. Before meeting with a client, open the blinds or curtains to let in as much sunlight as possible to make your home feel bigger and more inviting. Tabletop lamps can do wonders to brighten dark corners and create a peaceful glow, especially when the sun starts to go down.

5. Offer Refreshments When You're Hosting Clients

Clients are impressed when they feel taken care of, and offering refreshments is an easy way to accomplish this goal. Some clients might not care for anything too fancy, so it’s all right to keep things simple. Offer water, coffee, tea, soda, or sparkling water. Use nice glasses or mugs to keep the experience classy.

In addition to beverages, offer light snacks, like small plates of cookies, fruit, and cheese. Small portions will keep them happy and engaged with you during your meeting.

6. Plan for Privacy

Clients will expect your meeting to be private if you're discussing important matters, so make sure people in your home know not to disturb you. Turn off TVs, silence phones, and keep pets and kids out of your meeting area.

RELATED ARTICLE: NEW BUSINESS OWNER? 7 WAYS TO AVOID ISOLATION

7. Keep Your Tech Ready To Go

Whether you plan on using it or not, keep your tech ready to use on a moment's notice when you're hosting clients. For example, charge your laptop ahead of time so you don't need to hunt for a cord when your client wants to look something up online.

RELATED ARTICLE: 5 TIPS FOR SETTING UP A HOME OFFICE

Small Spaces Can Make Big Impressions

Hosting clients in a small home might seem tricky at first, but it's an opportunity to be resourceful and creative. Your attention to detail and hospitality will go a long way in helping you connect with clients even in the smallest space.

Featured image by Antonio Guillem

The post Hosting Clients in Small Spaces: 7 Tips appeared first on BUSINESS OPPORTUNITIES.

Tue, 15 Apr 2025 18:52:21 +0000 Carrol Strain

Modern banking has changed a lot in recent years. Gone are the days when you had to visit a branch, fill out countless forms, and wait in long lines just to open a savings account. With digitization, people can now open savings accounts online within minutes from anywhere.

Whether you’re managing your personal finances or taking care of your small business, it’s definitely convenient, fast, and safe. In fact, remote banking is now more accessible than ever. In this blog, we explore the benefits of opening a savings account online. Learn how digital banking is transforming the way we manage our finances.

RELATED ARTICLE: ACCOUNTING SOFTWARE: STREAMLINING BUSINESS FINANCES

Key Features That Make Opening Online Savings Accounts Beneficial

Convenience at Your Fingertips

With online savings accounts, you get the flexibility to access what you need, whenever you need it-whether it’s early in the morning or late at night.

Most online banking platforms are designed to be user-friendly, making the process simple. Typically, it only takes a few clicks and uploading a few documents to complete the setup. In many cases, you will receive instant confirmation, and your account will be ready to use within a few hours.

No More Paperwork with Online Savings Accounts

The traditional method of opening a savings account would involve carrying documents and manually filling out lengthy forms. But these days, you can take care of all these transactions digitally.

You can now upload documents within seconds. What’s more, many banks offer e-KYC (electronic Know Your Customer) verification, eliminating the need for in-person visits.

Faster Access To Banking Services

With online banking, you can transfer funds, set up automatic payments, and take care of all your budgeting needs with just a couple of clicks. Plus, you can get it all done within seconds. You'll have no paperwork to process or approvals to obtain elsewhere.

Many banks also give out instant virtual debit cards, enabling you to start buying online and managing expenses right away.

RELATED ARTICLE: FINANCIAL LITERACY: ESSENTIAL FOR BUSINESS MANAGERS

Enhanced Safety Measures

Modern digital banking uses advanced encryption and multi-factor authentication to protect online savings accounts. Features such as OTP verification, biometric login, and real-time fraud monitoring assure you that your money is as safe as possible.

Better Interest Rates and Offers with Online Savings Accounts

Many banks will provide you with higher interest rates when you open a savings account online. This is because online banking reduces operational costs, allowing banks to pass the savings on to customers through better interest rates and lower fees.

On top of these, there are many other exciting features such as cashback rewards, exclusive offers of online accounts, and so forth.

RELATED ARTICLE: 6 TIPS TO EFFECTIVELY MANAGE YOUR SMALL BUSINESS'S FINANCES

Eco-Friendly and Paperless

Take our advice and open a savings account online to reduce paper usage. You will minimize your carbon footprint by using sustainable banking practices. Every small step makes a difference, so choosing the digital route is not only convenient but also better for the environment.

Online Savings Accounts: The Future of Banking

The internet offers a faster, smarter, and safer way of banking with an application to open a savings account online. With streamlined digital processes and enhanced security and perks, it’s easy to see why more people are turning to online banking. If you haven't tried it yet, now is the perfect time to take the leap. Enjoy the ease of having your finances right at the tips of your fingers.

Featured image by Andrey_Popov

The post Online Savings Accounts: The Future of Modern Banking appeared first on BUSINESS OPPORTUNITIES.

Plugin Settings

Plugin settings are stored as preferences settings. Do not change the settings here, they are here only for illustration purposes showing the default values. Define the settings in Main.TWikiPreferences. For example, to customize the HEADLINESPLUGIN_USERAGENTNAME setting, add a * Set HEADLINESPLUGIN_USERAGENTNAME = ... bullet in Main.TWikiPreferences.

      * Set HEADLINESPLUGIN_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>

      * Set HEADLINESPLUGIN_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>

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).

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the TWiki server.

Plugin Info

Plugin Author: TWiki:Main.PeterThoeny, TWiki:Main.MichaelDaum
Copyright: © 2002-2012 Peter Thoeny, TWiki.org
© 2005-2007 Michael Daum http://wikiring.de
License: GPL (GNU General Public License)
Plugin Version: 2012-11-13
Change History:  
2012-11-13: TWikibug:Item7016: Restore changes for earlier versions with LWP
2012-11-13: TWikibug:Item7020: Categorize TWiki Variable
2012-10-31: TWikibug:Item7016: Utilize <guid> value when it is available
2012-09-05: TWikibug:Item6837: Doc fixes
2011-07-17: TWikibug:Item6764: Add VarHEADLINES variable documentation; doc improvements; setting NO_PREFS_IN_TOPIC
2011-07-08: TWikibug:Item6725: Change global package variables from "use vars" to "our"
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: VarHEADLINES, TWikiPlugins, AdminDocumentationCategory, TWikiPreferences

Edit | Attach | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.HeadlinesPlugin.