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, 16 Feb 2018 03:11:47 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Thu, 15 Feb 2018 04:04:02 +0000 Bizop Team

Mortgage Protection Insurance: What You Need to Know Now

For many homeowners, one of their greatest fears is a missed mortgage payment, and for good reason. That first missed payment could begin the slippery slope toward repossession. No one wants to think about the loss of his or her home as a real possibility. Fortunately, mortgage protection insurance can help people avoid this possibility, creating a safety net that may turn out to be very necessary at some point.

And if you operate a small business out of your home, mortgage protection insurance could be even more important for you. Not only will it allow you to protect your home, but also it will help you to safeguard your livelihood.

 

RELATED ARTICLE: 5 THINGS YOU NEED TO DO WHEN YOU’RE STARTING A HOME BUSINESS

 

What Is It?

Mortgage protection insurance helps homeowners repay their mortgages if they can no longer make them. This might occur if a long-term illness becomes an issue. It might also happen if an accident keeps you from working, or your income takes a serious hit, putting your home at risk. The typical policy can cover a mortgage payment for up to two years, and it offers up to 65% of the policy owner’s income.

 

Three Main Types

There are typically three main types of mortgage protection insurance.

The first type is unemployment. If you should lose your job, and you are registered with the government as unemployed, your mortgage protection policy would cover you in that instance.

The second type is accident and sickness only. In these cases, you will need to have been diagnosed with a long-term illness or you will need to have been in a serious accident. You will have to have certification from a doctor in both instances before you can claim this is the case.

The final type protects you against accident, sickness, and in the case of unemployment.

 

 

The Fine Print

There are a number of cases where your mortgage protection plan might not cover you. For example, in cases where you take voluntary leave from your employment, you won’t qualify. Likewise, in the event you deliberately injured yourself, you can’t claim on the policy. Medical conditions that existed before you took the policy out, too, often aren’t covered.

Typically, you can get coverage on these policies as long as you are at least 18 years old. Likewise, you can apply until you are 65. However, no matter what your age, you have to work at least 16 hours a week. Those who work on a temporary basis may not qualify, but if you are self-employed, you might still qualify.

 

Is It Expensive?

One reason many people don’t consider this type of coverage is because they’re worried it might cost more than they feel they can afford. Fortunately, it’s a fairly affordable product that may be the perfect way to meet your needs. On average, someone who is 30 years old will pay less than £12 per month. The older you are, though, the more you need to pay. However, even the average 50-year-old will only pay £27 per month.

 

It’s a Small Price to Pay for Peace of Mind

When it comes to mortgage protection insurance, what you’re really paying for is peace of mind. It’s the perfect way to cover your biggest investment should something serious happen and you cannot make your payments. Your policy is renewable once a year, and it’s certainly worth it to give it a try. Learn more about this essential type of insurance now.

The post Mortgage Protection Insurance: What You Need to Know Now appeared first on Business Opportunities.

Thu, 15 Feb 2018 04:01:21 +0000 Bizop Team

Why You Should Hire a Tutor to Help You with Writing Online Assignments

Are you going to school in order to learn more about the world of business? If so, there are probably times when the press of your online assignments leaves you feeling overwhelmed.

As a business owner as well as a student, you are exposed to an enormous amount of data on a daily basis. As a matter of fact, from time to time, you could find yourself faced with the impossible task of trying to absorb more than you can possibly take in.

At those times, a professional tutor can be a great help. After all, you still have a business to run as well as classwork to complete. Why not do yourself a favor and ask for a little assistance? Below, we discuss some of the benefits you’ll enjoy by contracting with a tutor to help you.

 

RELATED ARTICLE: 7 SUCCESS TIPS FOR STUDENT ENTREPRENEURS

 

Appropriate Solutions and Excellent Grades

A tutor can guide you toward the solutions your online assignment requests of you. Also, allowing a professional service to help you with your assignment can help you to earn a better grade than you would have otherwise.

 

More Free Time

A professional tutor can help you to complete your online assignments faster, freeing your time for taking care of your small business or spending time on hobbies or with friends and family.

 

Templates for Future Assignments

Your professional tutor will guide you toward preparing your online assignments in such a way as to leave you with templates upon which you can base future schoolwork.

 

Improved Skills

Your professional tutor will help you to improve your skills. Additionally, you’ll gain a greater understanding of your online assignments, which will help you in the future.

 

Meeting Deadlines

Instead of struggling to finish assignments at the very last minute, hire a professional tutor well ahead of the deadline. In this way, you’ll always be able to turn in your online assignments on time.

 

Preparation for Exams and Tests

A professional tutor can help you to prepare for exams and tests.

 

24/7 Helpline

A good professional tutoring service will offer an online helpline to assist you every day of the week, at any hour of the day or night. If you find yourself in difficulty with an assignment, just call. With professional assignment help, you’ll be able to finish your online assignments on time.

 

online assignments 2 300w, online-assignments-2-768x576.jpg 768w, online-assignments-2-1200x900.jpg 1200w, online-assignments-2-600x450.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" />

 

Is Homework Overrated as a Tool for Learning?

The main purpose of homework given by the teacher or professor is to help the student to better learn the course material.

However, there are some who would argue that too much homework defeats the very purpose for which it is given. When students feel continuously stressed by the demands of excessive homework assignments, they miss out on times with friends and family and often neglect their health.

Besides, experts recommend that students also engage in extracurricular activities as well as activities inside the classroom. Doing so provides students with a well rounded education, giving them chances to learn new things and explore their interests.

 

 

How to Choose a Professional Tutor

If you decide you want to engage the services of a professional tutor to help you learn more from your classes and make better grades, here are a few pointers to keep in mind:

  • Review any comments left on the company's website about their services. Other students’ comments will give you a basic idea about the faculty and their qualifications.
  • If possible, personally meet the faculty and inquire about their experience and qualifications.
  • Ask for the phone numbers of other students who have previously used the professional’s services, then call those customers directly. You’ll want to know as much as possible about the tutor’s interactions with these former students, as well as how well the tutor met deadlines and the quality of their work.
  • Find out as much as you can about client support. A good professional tutoring service will provide a readily available client support system.
  • Clearly understand the charges, terms and conditions of a professional tutoring service before you hire them.

 

Finally

If you’re running a business and going to school, too, you have multiple demands on your time. Hiring a professional tutor to assist you with online assignments can help you to do better with your schoolwork and to absorb the classroom material that will serve you best in the long run.

The post Why You Should Hire a Tutor to Help You with Writing Online Assignments appeared first on Business Opportunities.

Wed, 14 Feb 2018 04:20:03 +0000 Bizop Team

Put Your Life Insurance Knowledge to the Test with Health I.Q.

If you’re like many Americans, your life insurance knowledge likely includes the fact that life insurance is a safety net. You understand, in other words, that it helps protect your loved ones from financial hardship if the unthinkable should happen to you.

If you’re a small-business owner, your life insurance knowledge may even include the understanding that life insurance is especially important for you and your family.

 

RELATED ARTICLE: DOES MY COMPANY REALLY NEED BUSINESS INSURANCE?

 

But how much do you actually know about life insurance? Seven out of 10 Americans quizzed by the Life Insurance and Market Research Association, or LIMRA, failed a 10-question basic life insurance knowledge test. This lack of understanding may explain why 37.5 million Americans have no life insurance. As a matter of fact, Americans are under-insured in this category by roughly $12 trillion.

 

Test Your Knowledge

You can test your own life insurance knowledge with Health I.Q.’s Life Insurance Policy Basics quiz. The multiple-choice format makes answering each question easy. Simply make your best guess and read the feedback you receive carefully.

The website will either congratulate you on your knowledge or you’ll get to improve your life insurance knowledge. Either way, it’s a win for you. The Health I.Q. site will also tell you how many other Americans got each question right or wrong. In this way, you can see how your knowledge compares with that of others.

If you get a high score, well done. Hopefully, you also have the best policy for your family. If there’s room for improvement, you won’t find a better time to start learning more than right now.

Do your research. Then use the Elite points you earned from the quiz to secure a great discount rate on a comprehensive Health I.Q. life insurance policy.

 

 

A Brief History of Life Insurance

To help you bone up for your life insurance knowledge test, we’ve come up with a brief history of life insurance.

The earliest known form of life insurance appeared in about 100 BC, when a Roman military leader established a burial club among his troops. Members of the club paid for funeral expenses of other members who died unexpectedly.

After the fall of Rome, the practice disappeared for several centuries. It reemerged in fledgling form in the late seventeenth century among aficionados of Edward Lloyd’s Coffee House in London. Eventually, a small group of professional underwriters among this group established Lloyd’s of London.

The concept migrated to the American colonies during the eighteenth century. There it materialized as a fund for Presbyterian ministers to benefit their wives and children. The life insurance industry waxed and waned in concert with economic booms and busts in the United States over the next century, peaking during the boom years of post-World War II. During the 1970’s, 72 percent of adult Americans were covered by some type of life insurance policy.

More recently, however, the life insurance industry has fallen on leaner times. In 2010, for instance, less than half of American households had any life insurance coverage at all.

The post Put Your Life Insurance Knowledge to the Test with Health I.Q. 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
    • 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