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 Dec 2019 19:44:18 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Fri, 13 Dec 2019 17:57:58 +0000 Carrol Strain
Featured image by Pasuwan on Shutterstock

Billionaire businessman Ray Dalio is the 58th-richest person on the planet. The founder of Bridgewater Associates, one of the largest hedge funds in the world, he got to that level by being astute and innovative.

Moreover, Dalio refined the notion of idea meritocracy, an approach which emphasizes the actualization of ideas regardless of who thought of them. This kind of thinking gives opportunities to company employees on the lower rungs of the ladder to develop ideas and earn recognition for their contributions.

Dalio's concept should appeal to anyone who is looking to get into business.

RELATED ARTICLE: STARTING A BUSINESS: WHAT YOU SHOULD KNOW

Innovation Is Integral to Success in Business

According to Dalio, one of the most important things in business is innovation. This means looking for gaps in the market that competitors haven't noticed.

No matter what industry you are in, companies borrow ideas off each other until they reach a similar level. The ones that go on to great things are those that come up with new ideas first.

Consequently, there are specialists who help businesses evolve with fresh ways of thinking. For example, Qmarkets is one such idea management platform. Its methodology captures and implements ground-breaking business ideas for maximum effect.

Dalio Promotes the Idea of Giving Employees More Autonomy

This idea management tool, based in part on Dalio’s ground-breaking thinking, relies on a variety of approaches and methodologies.

For example, Dalio’s approach to evaluation led to an increase in businesses giving their employees more autonomy and allowing their creative juices to flow. As a result, upper management could more easily recognize the ideas and accomplishments of employees on the company’s bottom tiers. This in turn led to better staff retention rates and employee satisfaction.

Dalio Belongs to a Handful of Creative Thinkers in This Arena

Additionally, other pioneers in this way of thinking include Scott Belsky and Alan G. Robinson. Both are well-known authors in the idea management field.

For example, Belsky wrote Making Ideas Happen: Overcoming the Obstacles Between Vision and Reality. His book includes research on idea life cycles. In it, Belsky discusses ways to implement ideas.

Robinson co-authored Ideas are Free, a massive global study of 150 businesses. The book explores how companies can garner ideas from employees in order to gain a competitive advantage.

All of these great thinkers, including Dalio, emphasize how important it is to maximize the creative abilities of your company’s employees. You must give them a chance to grow within the company.

Businesses that fail to do this may lose these great thinkers to the competition. Your competitors then go on to innovate and get ahead in your industry.

Therefore, companies should provide opportunities for employees to come up with their own ideas. For example, Google allocates twenty percent of the working day for its programmers to pursue their own side projects.

Conclusion

Budding entrepreneurs should take heed of the good advice that Dalio and these other great business thinkers have come up with. In order for companies to innovate, they need to provide an environment in which their best creative minds can come up with ideas.

If you’re an entrepreneur who is on the lookout for inspiring business ideas, be sure to visit our blog often.

The post What Can Entrepreneurs Learn from Ray Dalio? appeared first on Business Opportunities.

Thu, 12 Dec 2019 23:36:27 +0000 Carrol Strain
Featured image by Bildagentur Zoonar GmbH on Shutterstock

Are you stressing over a case of the holiday blues? You’re not alone.

Many people suffer from anxiety and even sadness around the holidays. It’s not unusual during this time of year, when stress levels and expectations are high and nostalgia is ever-present. To make matters worse, daylight hours are all too short. Under these conditions, the demands many of us place on ourselves during the holidays can take their toll.

Moreover, if you have a business to run, as well as meals to cook, house guests to take care of, shopping to do, and a house and tree to trim, overload and exhaustion can easily set in.

Ways to Cope with the Holiday Blues

You don’t have to settle for feeling blue around the holidays. In this post, we offer a few suggestions that can allow you to feel more relaxed-and possibly even more festive-instead.

Take a Quick Break from the Holiday Madness

Put your online store or your freelancing gig on autopilot for a brief while, and, weather permitting, step outside for a walk. Even if you have to wear snow boots or avoid mud puddles while you’re out, you will be surprised at how much better you’ll feel when you get back to your office.

If you absolutely cannot get out, a few indoor stretching exercises can get those endorphins flowing and your heart pumping again. Your business will be all the better for it, as you’ll be much more energized and creative afterward.

Let Yourself Have Some Holiday Fun

Have you ever tried your hand at online gaming? Many have.

In fact, an impressive 11% of all Internet traffic comes from players at online casinos. Since 2014, the online gambling sector in the UK alone, including online bingo sites, has grown by 300%.

A quick game, just for fun, could lighten your mood and help you enjoy the holidays again. Moreover, if you take a deeper look, you might see some greater possibility as well.

For example, if you look at the worldwide gambling industry overall, it's clear to see that online gaming has experienced enormous growth. As 2017 came to an end, the total spent on gaming hit an impressive $107 billion-a record-breaking figure. In fact, it was more than people spent on music and film combined over the course of the same year.

It’s no wonder the online gaming sector is on the rise. Whether you love football, politics, reality TV shows, or eSports, you'll find an outcome that you can wager on online. This is something which simply isn't possible in real-world betting outlets.

It also stands to reason that this pattern of growth is set to continue in the near future. As technology advances still further, it's likely that even more people will be drawn to the world of online gaming, and the industry will grow even more as a result.

RELATED ARTICLE: HAPPY HOLIDAYS! WAYS TO PLAN FOR THE HOLIDAYS FOR YOUR SMALL BUSINESS

Spend Time with Loved Ones

Take time to love on a kitten or a puppy, even one that is not your own. Schedule a date for coffee with a treasured friend in the midst of the holiday frenzy. Cook a special meal for a special someone on an evening you both have free. Simple occasions such as these can help to make your holidays brighter and merrier.

Do Something Nice for Someone

There are so many opportunities to offer help and support to others at the holidays. For instance, an obvious idea is to give what you can to those charities that inspire you.

However, if your wallet is a little thin during December, schedule a monthly monetary gift to begin in January of the coming year. After all, most of those charities need support throughout the year as well, and not just during the holidays.

Of course you already know that kindness needn’t be limited to money alone, right? Lend an ear to a troubled friend, or help a stranger lift a heavy bag of groceries into her car. Small unselfish acts such as these will not only help the other person but will also lift your spirits as well.

Say No When You Need To

For many people, spending time with extended family is something others expect them to do around the holidays. This is all well and good if those family members are people you enjoy being around. But what if they’re not?

It’s okay to limit your time with people who leave you feeling drained and exhausted, even if you’re related to them. For example, instead of agreeing to spend an entire weekend with a houseful of keyed-up relatives, show up with a hostess gift and a covered dish to share, and stay only long enough for a meal and an amiable visit with the folks you do care about.

Then, if the afternoon or evening should take an unpleasant turn, simply don your coat and scarf and wave a cheery goodbye.

own the holidays 300w, holidays-2a-768x436.jpg 768w, holidays-2a-696x395.jpg 696w, holidays-2a-1068x606.jpg 1068w, holidays-2a-740x420.jpg 740w, holidays-2a.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" />
Photo by Lisa Fotios from Pexels

Luxuriate in Some Quiet Time

Whenever you think about it, take a deep breath and exhale slowly. Now, take another, then another. With each breath, sink a little deeper into yourself and disengage from whatever is going on around you. You can do this even in a crowd. No one need know but you. It can be your little secret.

Then return to the reality around you refreshed and renewed. This little exercise can take less than a minute, but it can save you hours of frustration and uneasiness. Repeat as often as necessary.

Practice Moderation in All Things

The holidays can be a time when many people feel the urge to overindulge in food or drink. However, doing so will only increase your holiday stress.

Own the Holidays-Don’t Let Them Own You

You want to keep your life and your business running as smoothly as possible through the holidays so you can hit the ground running with the new year. So take heed of these simple practices and enjoy more holiday cheer-and less holiday stress.

About the Author

Carrol Strain is a Top Rated copywriter on Upwork. She is also editor and on-call writer for the Business Opportunities blog.

The post Holiday Blues? Here Are Some Ways to Cope appeared first on Business Opportunities.

Wed, 11 Dec 2019 15:43:00 +0000 Mel Martinez

When a lawsuit takes over your life, settlement loans can help you meet your obligations.

Are you trying to survive financially while seeking justice for a personal injury lawsuit? Just making ends meet when your life is on hold can be a daunting task. Perhaps you are living on Workers Compensation payments, or worse, are out of work altogether. Surviving the financial stress of this difficult time can be overwhelming. 

When a lawsuit takes over your life a select group of financiers is available to help you meet your obligations. They provide settlement loans, pre-settlement funding to keep the bills paid while your representation works on your case. Here is what you need to know.

What Is a Settlement Loan?

Injury lawsuits add incredible stress to an already difficult situation. In order to alleviate your stress, companies provide injury lawsuit funds prior to any settlement. This allows you to obtain money prior to the completion of the lawsuit. These loans are commonly called Pre-settlement Funding, or Settlement Loans.

  • Consider the following questions when looking for a settlement loan.
  • What is the rate you will be charged for your Pre-settlement funding by the Company?
  • How fast can you really obtain your settlement loan advance?
  • What additional fees will be charged on your personal injury advance?
  • How long does it take to get your money from start to finish on your settlement loan?

RELATED CONTENT: ARE YOU CONSIDERING A PERSONAL INJURY CLAIM?

Contrary to the information on company websites, many settlement loan companies don't provide low rates on lawsuit advances. These lawsuit cash advance or settlement loan companies charge an interest fee to underwrite your personal injury lawsuit loan.

Top Settlement Loan Companies 

Here are the top settlement loan companies offering lawsuit funding.

Mayfield Settlement Funding

Mayfield Settlement Funding isn’t a huge company like some of the others. However, they have full-time agents in house and ready to fund immediately at good rates. Their customer service reviews are incredible. According to reviews, Mayfield Settlement Funding meets the expectations of customers a majority of the time. The settlement loans are non-recourse – the advance does not need to be repaid if the case does not settle. 

Mayfield does not shop around your loan like many of the other companies. They offer same day pre-settlement funding within 24 hours of application. Unlike many other providers, Mayfield Settlement Funding specializes in settlement loans primarily and not a large number of other products.

PeachTree Financial Solutions

PeachTree gets great reviews online and offers few delays in funding turnaround time. They are located in Pennsylvania and have been offering settlement funding since 1996. From our research, they have good rates and competitive, fast service. 

PeachTree also offers products for annuities, structured settlements, lottery, and other financial advance services.

Nova Legal Funding

Nova Legal Funding offers a clean and cutting edge website with an easy application process. The company resides in California and they have quality reviews on TrustPilot as well. They mention on their website that rates are on a case-by-case basis, so this will have to be researched by the consumer. 

Oasis Legal Funding

Oasis Legal Funding is another litigation funding and pre-settlement loan company with quality reviews. They were started in 1996 and have a large online presence. While we were not able to confirm their rates, they are a leading provider with a happy client base!

This provider also offers non-recourse settlement loans.

LawCash

Law Cash is based in New York. They provide a user-friendly online application to initiate your funding process.  In addition, they offer non-recourse settlement loans so you don’t need to worry that your advance might not be repaid in the unlikely event your case doesn’t settle.

Settlement Loans Wrapped Up

All these companies receive excellent customer reviews and provide fast lawsuit funding compared to other companies. They all offer non-recourse settlement funding services, so you can rest assured that you are getting a safe advance for your lawsuit.

settlement loans - shaking hands 300w, monochrome-photography-of-people-shaking-hands-814544-768x432.jpg 768w, monochrome-photography-of-people-shaking-hands-814544-696x392.jpg 696w, monochrome-photography-of-people-shaking-hands-814544-1068x601.jpg 1068w, monochrome-photography-of-people-shaking-hands-814544-747x420.jpg 747w, monochrome-photography-of-people-shaking-hands-814544.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" />

The major benefit of utilizing settlement lawsuit funding is endurance. Proper funding can close the gap of financial distress that might cause you to settle too early. Your lawsuit funding advance can increase your settlement amount while your attorney negotiates or fights your case.

Cover your bases by researching each company. Your financial health depends on your being well-informed and well-supported.

This article was contributed by Dataflurry Law Firm Internet Marketing, a legal content marketing and SEO services company.

The post Settlement Loans: The Best Companies to Borrow From 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 - 13 Feb 2009 - 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