Headlines Plugin

Description

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

%HEADLINES{"..."}%

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

Examples

Slashdot News

Write

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

Business Opportunities Weblog

Write

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

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

Fri, 13 Jan 2017 23:52:47 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Fri, 13 Jan 2017 04:20:52 +0000 Bizop Team

7 Ways to Find Your Dream Job or Business

The world of work can be a confusing and complicated place. If you're coming to the end of your formal education and are wondering what sort of career to pursue, or you're stuck in a dead-end job and are desperate for a fresh start, you need to take action now.

Committing to a long-term career path is a risky business when you don't know what you're letting yourself in for. How do you know whether you'll actually like being a teacher, or lab technician, or policeman, or stockbroker, or social worker, or sales rep? Other than your educational qualifications and a vague notion of “what you want to be when you grow up” – probably influenced by parental or societal expectations – how can you get any useful information and experience to help you make up your mind?

We've come up with 7 ways to help you get closer to finding your dream career or business without wasting time heading off into the wrong direction:

  1. Be true to yourself

Easier said than done, especially when you perhaps haven't worked out who you are yet. But the trick here is not to discard your dreams just because they seem unrealistic or impractical. Rome wasn’t built in a day, and it certainly won't be built at all if you're afraid of laying the first brick. Whether you really love techno DJing or are fascinated by the stock market, you need to trust your inner confidence and go for it. You don't want to sleepwalk into a “safe” career, only to wake up to a full-blown midlife crisis decades later, wondering why you sold all your hopes and aspirations down the river.

  1. Nurture your hobbies

Do you have any hobbies that you are passionate about and wish you could turn into an income-earning activity?  There's only one way to find out. Keep nurturing your hobby and look for opportunities to use it - even if only part-time or on weekends to begin with. A budding photographer, for example, might contact local community groups and charities who may have a need (though no budget) for a photographer. Providing free photography services in exchange for building your portfolio could be the start into a brand-new career in business.

  1. Try something new

A wise person once said: If you always do what you’ve always done, you will always get what you’ve always got. Change can only come when you break out of the rut, even if you don't know necessarily where it's going to take you. If you're cooped up in an office job and wish you could be outside, try to find opportunities to volunteer as, say, a park ranger, gardener, or dog walker, and see how you feel about it. Or if your job is more physical in nature but you're longing for a chance to develop your administrative or managerial skills, find a suitable outlet for your interests. Volunteer at your local library or school, join a worthy cause, or brush up on your computer skills. Sharpening skills you don't use in your current job is an excellent way to broaden your horizons to future career options.

  1. Experience Days

Wouldn't it be great to spend “A Day In The Life” of your dream job, just to see whether the reality matches up to your expectations? Well, you can by booking yourself onto an Experience Day with Into the Blue if you're in the UK. Whether you're curious about barista training or cheese making, photography, or TV presenting, floristry, or perfume making, a short course or workshop will offer you plenty of insight into what it's all about. It won't give you all the skills overnight, obviously, but it will provide you with enough information to be able to make an intelligent decision about which career path to pursue, or not, as the case may be.

  1. Career Speed Dating

Many career events at schools, colleges, and universities have now cottoned on to the idea of using the concept of “speed dating” to maximize networking opportunities between students and career professionals. Career Speed Dating events are a great way to quiz alumni on their career choices, with quick fire questions aimed at getting as much information possible in a short period of time. The format can be hugely helpful in gaining inspiration, ideas, and guidance for the path ahead.

  1. Jobbing

Taking time out after you've finished college or university, and before you embark on a serious career, can be a wise move as long as you use the time constructively. Giving yourself permission to defer committing to a “proper” job gives you the breathing space to try out lots of things in an effort to help clarify your eventual career direction. Cram in as many jobs as you can and across as many industry sectors as possible. From bar work to charity fundraising, shop assistant to office junior, working in a call center and on a building site, home or abroad – it all helps to give you a rounded picture of what “the world of work” is all about and where you can see yourself fitting in.

  1. Work shadowing

If you're really curious about a particular occupation or business opportunity, the best way to find out if it's for you is to actually spend time doing it. How do you do this if you don't have the requisite skills or qualifications, or without applying for the position and making the commitment to taking the job, should it be offered? Shadowing is the answer. Contact the company and ask if you can spend a day/week/month as a work placement or work shadow as you're highly motivated to find out more about the position. That way, you can spend a day/week/month in the life of an electrician, or an accountant, or a social media manager, or whatever you've set your heart on.

Thu, 12 Jan 2017 03:42:05 +0000 Laurie Bennett

Understanding The Difference Between Medical Caregivers And Companion Businesses

We receive a lot of questions about care giver businesses so here is a post to better explain them and what is required.

When it is all about the care for  the elderly, it is vital to know the major difference between medical and non-medical caregiver services. Medical and non-medical caregivers do not fulfil the same requirements. Medical caregivers can be certified medical personnel and certified nursing assistants. The job of a non-medical caregiver does not require the same type of education and does not deliver the same services. Non-medical caregivers are called companions and home health aides.

A companion business can do light housekeeping, offer companionship and prepare meals. This type of service can also require grocery shopping, laundry, and driving the seniors on errands.  No training is required for a home companion business. With a companion caregiver business, you will care for and have good interaction with the clients. A Better Way in Home Care refers compassionate companions who offer assistance with daily living activities – everything from meal preparation, grocery shopping to non-medical care – such as bathing, toilet care, and so on. The cost of companion services depends on the experience, services provided, and location. Professional companionship also allows family members to take a break from looking after the senior.

Personal assistance or a home health aide is also a non-medical caregiver. He or she may perform all the before-mentioned tasks but offer qualified care such as minor medical care. Home health aides are best for those seniors who are looking for light medical care to be able to stay in their homes. A personal aide/caregiver is required to have health aid certification, which involves 76 hours of supervised training program.

Non-medical caregivers

These individuals assist elders with minor medical tasks. They provide comfort and support to the seniors that they usually need. Non-medical caregivers are helpful if you are unable to set aside the time to spend with the senior so they can live comfortably.

Companion tasks include:

  • Preparing meals
  • Running errands
  • Doing ironing and laundry
  • Joining in recreational things such as games, conversation, and reading
  • Watering plants

Medical caregiver

Some medical caregivers' duties include:

  • Recording health patterns and behavior
  • Changes slings, bandages, and dressings
  • Administering medication
  • Helping with care such as douches, irrigation, and cauterization.
  • Monitoring and reading vital signs

If you are thinking of hiring an elder care associate, or becoming one yourself with your own business, be sure to contact A Better Way in Home Care. They can help you and also refer you to highly competent companions who can help with the daily needs of your loved ones.

They work with caregivers who deliver seniors the close attention they need. Their team of caregivers understand that their clients have kids, work, and other commitments in their hectic daily routine. There are not enough hours in a day to give proper time to the seniors in many people’s lives so this is a great and growing business opportunity. With the assistance of companies like A Better Way in Home Care companion team, seniors are offered the care and assistance they need. So if you think you have what it takes to be a care giver, or need to hire one, be sure to contact them.

 

 

 

Tue, 10 Jan 2017 02:38:43 +0000 Bizop Team

Go Green With Your Office Furniture

When your office and working environment undergo a drastic change, whether this is due to an office move or construction taking place, many companies are unsure how to dispose of (or store) their office furniture to correspond with the correct regulations. In recent years, developments in legislation and regulation have brought environmental practices into the limelight.

A study published in the Environmental Research Letters journal showed that a staggering 97% of scientists believe that climate change is manmade. With this evidence being so clear, it's a stark reminder that as a nation, we need to do everything we can to be as eco-friendly as possible. This is something the world's governments agree upon, with 195 nations at the Paris Convention agreeing to keep the increase in the average global temperature to below 2 degrees Celsius above pre-industrial levels. Make sure you read all about it here.

For business owners, the green legislation is starting to take full effect, especially for larger corporations, who will receive tighter regulations. One of the ways companies can make sure they remain within the parameters of this is through disposing of their office furniture in the most eco-friendly way possible. That's why environmentally friendly waste disposal company, Enviro Waste is here to offer some tips.

Office recycling for small businesses

For startups and small businesses, the most responsible thing you can do with your spare office furniture is to sell it or donate it to someone who needs it. If you are moving out of the office, then it might be worthwhile trying to make a deal with the business moving in, or one of the other offices in the building. Not only will this save you the hassle of arranging and paying for the removal of furniture, but it is also good for our planet. In some cases,  you may be able to recoup some of the money from the initial investment to buy some new furniture.

If you're upgrading your furniture and staying in the same office, a great thing you can do is list the unwanted furniture on sites such as Craigslist, Gumtree, and Freecycle. You can now even put them on Facebook marketplace or newspapers to make local businesses aware that you are selling. This is much better option than hauling it down to the tip and creating more waste.

Repurpose your office furniture

If your office furniture is still in tip-top condition, but you still need more space your existing workforce or even an expanding workforce, consider repurposing your existing furniture to give them a new lease of life. Maybe you can turn an old corner workstation into a straight-a desk. It's always worth taking a look at what you have first before you consider getting rid of it.

Recycle your office furniture via a waste disposal company

Environmentally friendly companies like Enviro Waste are probably the easiest option of disposing of your office furniture, although it would cost more. However, if your time is valuable and you don't mind spending that little bit extra for somebody to dispose of it for you, then this is probably for you. Enviro Waste also works with local house associates and charities such as the British Heart Foundation.

 

 

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
    • Set USELWPUSERAGENT = yes

  • Timeout fetching a feed using the LWP::UserAgent. Default: 20
    • Set USERAGENTTIMEOUT = 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.
    NameVersionDescription
    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