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:

Tue, 23 May 2017 14:04:14 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Tue, 23 May 2017 01:33:20 +0000 Bizop Team

Is Consulting in the Cards for Your Next Career Move?

Have you ever considered starting your own consulting business? While you may assume that consulting is only for people who are nearing retirement age and have decades of industry experience under their belts, there's actually a lot of room for younger professionals to make some noise in this area.

 

The Need for Consultants in Today's Business Landscape

The barriers to entry in the business world are lower than they've ever been. In most industries, all you need is an internet connection, a little bit of capital, and some basic understanding of how to get started. The internet, cloud based tools, and other remote technologies make starting a business super easy.

As a result of the low barriers to entry, people are starting businesses left and right. And while there's nothing wrong with this - it creates healthy competition - it means there are a lot of small business owners who launch businesses without skills that they would otherwise have been forced to have in previous decades. This creates a need for guidance and an opportunity for people like you to step in and offer consulting services.

If you're considering making the move into consulting, there are some things you'll want to think about. Take a look:

 

  1. Be a Specialist

''In general, smaller businesses try to do as much as possible themselves. And when they need the help from an outside advisor it better be advice which is pragmatic and which can directly be implemented into the daily operations without too much hassle,'' Consultants 500 advises.

General business consulting is fine, but there are lots of people who offer these services have been doing it for years. If you want to make a name for yourself - and have a positive influence on your clients - try to specialize.

 

  1. Brush Up on Your People Skills

As much as you need to have some sort of specialized skill in order to properly advise your clients, you also need to perfect your people skills. You'll deal with a lot of different people - some of whom will be cranky, rude, and finicky. How you handle these people will, to an extent, determine your success.

 

  1. Under Promise and Over Deliver

Expectations are a big thing in the consulting world. The expectations your clients have will dictate how they feel about your work at the end of your relationship. If they have high expectations and you only perform average work, they're going to feel pretty sour. However, if they have average expectations and you perform high quality work, they'll be ecstatic.

As the old saying goes, you need to under promise and over deliver. This sets you up for success and removes much of the risk, should something go slightly awry on your end.

 

  1. Reputation over Revenue

It's not uncommon for successful consultants to lose money or break even in the first few years that they offer services. You need to adopt the mindset that your reputation as a consultant is more important than revenue (in the short term). By investing in solid reputations and delivering real value to your clients, you can build your brand and command a much higher rate in the future.

 

Give Consulting a Try

The great thing about consulting is that it comes naturally to so many people. After years of honing your craft and acquiring skills, you eventually reach a point where you feel prepared and confident enough to help others in their own careers. Consulting is also flexible, which makes it great for people who don't want to give up their existing career. Before you take the plunge, though, make sure you do your research.

The post Is Consulting in the Cards for Your Next Career Move? appeared first on Business Opportunities.

Tue, 23 May 2017 01:28:07 +0000 Bizop Team

Analyzing the Enormous Benefits of Using Videos for Your Business

It is safe to say that consumers are more skeptical today than ever before. People have seen multiple scams in their lifetimes, and some have even been victimized. They've learned to be wary, and they're hesitant to purchase anything. As a business owner, this mindset makes your job increasingly difficult. In order to convince your clients to purchase your goods and services and keep your revenue near its peak, you need to take effective action.

What's the answer?

Create videos for your website. A video can be a powerful persuasive tool, and making one is easier than you might think. Learn more about the enormous benefits of videos here.

 

The Viewer Will Listen

When you're writing about your product, you truly never know whether or not the viewer will even read it. Consumers today have short attention spans and little patience, and it is highly unlikely that anyone that will read the entire description of your product. Consumers want their content delivered quickly, and they want it to be convenient for them.

This is why video is so much better. With a video, not only will you be able to deliver an attractive visual message, you'll also be able to deliver an audio message as well. Consumers are much more likely to watch your video than they are to read a page of text. With a whiteboard animation, you can get the visitor engaged and hold their attention from beginning to end.

 

Make Yourself Human

Another major problem businesses face is the fact that consumers no longer see corporations as human. Instead, they see the corporation as a machine, little more than a logo. The trust consumers had for corporations in the past is gone, having shrunken massively over the past few years.

You can rectify this problem by creating a video-or several of them-for your company. Get in front of the camera and speak directly to your potential clients. Let them know that you're human and no different than they are. By consulting with your clients in this manner, you will be able to establish a deep rapport with these individuals.

This will build trust and ensure your clients feel comfortable in your hands. And of course, this will help you increase your sales and revenue!

182w, info-graphic-768x1263.jpg 768w, info-graphic.jpg 800w" sizes="(max-width: 622px) 100vw, 622px" />

Spread Across Multiple Channels

Videos are also good for expanding your reach. Once you've made a video, you will be able to spread it across many online channels. You can upload the video to YouTube, Vimeo, and Facebook. This will help to ensure that your video reaches a large segment of the population. Because you can distribute it so broadly, your video will be far more effective than any text you might have written.

Visual Aid

If you have a multifaceted product that is complicated to operate, you might have difficulty displaying it to a group of professionals. This is where a video presentation can save the day, because you can record the product as it's being set up and show it operating in a laboratory or manufacturing facility. You can then use the video alongside the actual product at trade shows, in business presentations, and in other meetings, so that potential customers can get an up-close look at how your product actually works.

With a video you'll be able to capture and hold your audience's attention much more effectively than you could in any other way.

The post Analyzing the Enormous Benefits of Using Videos for Your Business appeared first on Business Opportunities.

Mon, 22 May 2017 23:56:07 +0000 Laurie Bennett

The Simple 4-Step Method to Find Your Profitable Business Idea

Source: Entrepreneur.com

 

The best thing about this article is how simple it is. Basically it is saying that every brick and mortar business was created to solve a problem. Now, the world is changing and brick and mortar businesses are either dying or going south. So…look for an idea that was brick and mortar and figure out a way to take it online and voila…you have your new business idea. It is genius.

Editor’s note: this article is excerpted from Daniel DiPiazza’s recently released bookRich20Something: Ditch Your Average Job, Start An Epic Business, Score The Life You Want.

If you're reading this right now, there's a good chance you want to start a business. Or you already have. And if so, you're probably doing some agonizing about your business idea.

No, I'm not a psychic, but I have spent an incredible amount of time during the past five years planning, strategizing, and growing my own company Rich20Something. So I know a thing or two about what it's like to be in your shoes.

Coming up with and testing a great business idea is one of the most challenging parts of entrepreneurship. And you can't get around it — it all starts with an idea.

While I was working on my new book (plug!), I developed a simple four-step solution to determine whether you're headed for a business breakthrough-or simply a breakdown. Here's how it works.

How to Find Your Profitable Idea

Before we go any further, I have one favor to ask of you: Don't start freaking out, OK? Most people get really weird or anxious when it's time to start developing ideas for their business. Lots of people love the idea of brainstorming ideas, but can never actually find an idea that they like enough to execute. Or often, they don't think it's ''good enough'' to execute. I'm not sure why or how, but as soon as we think of a potential business idea, most of us seem to get this bug that makes us believe whatever we think of isn't ''good enough.''

 

Potential or aspiring entrepreneurs seem to face two huge problems when it comes to developing an idea:

1) We don't think we have any good ideas, so there's nothing we can possibly see succeeding. This is the guy who's always telling you about a new project he wants to start, and then you find out two weeks later he's already completely abandoned it.

2) We think we have too many good ideas, and we are completely confused as to which one we should run with long-term. This is the guy who always has twelve projects brewing at the same time, all in various stages of progress, none really doing well.

While these seem to be opposing concepts, they often ensnare us in the same dilemma: half-starting and eventually quitting.

So where SHOULD you be focusing your time and energy? How do you know if your idea is good enough to ''make it''?

First, remember two things:

1) As I said before, you don't need a million-dollar idea. This is VERY important to keep in mind, as it's very easy to feel like we need to be thinking BIGGER in the beginning. What I'm telling you to do is to think a bit smaller — at least at first. Case in point: If you look at high-level competitive martial artists, you'll see that even the most spectacular wins are usually the result of world-class fundamentals. Even against elite competition, doing the basics uncommonly well is usually more than enough to come out on top.

If you can master doing simple things really well right now, you'll still make a ton of money AND prepare yourself for more advanced things later.

2) All businesses — services and products, online or offline — are a direct response to a problem. The purpose of a business — the only reason it exists, in fact — is to solve a problem.

READ FULL ARTICLE

 

The post The Simple 4-Step Method to Find Your Profitable Business Idea 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


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