Tags:
create new tag
, view all tags

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.

Note: Syndic8.com ( http://www.syndic8.com/ ) lists 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
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
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]]"
  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:

Fri, 19 Jan 2018 05:03:06 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Wed, 17 Jan 2018 23:46:03 +0000 Bizop Team

Your Customers Are the Key to Expanding Your Business

As a business owner, you know only too well that without your customers, your business would grind to a halt. Your customers are your business’s lifeblood.

You also know that the key to improving your bottom line is expanding your business.

Depending on the nature of your business, expansion could mean opening new stores in multiple locations or adding new products or services to your current offerings. However, regardless of your expansion strategy, one thing remains constant: Your customers make expansion possible.

 

Customers Are a Source of Revenue

Your business needs money not only to stay operational, but also to spread its wings.

There are multiple sources of business revenue. You can secure a business loan from a traditional bank, get a business cash advance from a specialist lender, run an online crowdfunding campaign, borrow from friends and family, or even make a deal with an equity investor.

While these are all ideal capital sources, none beats your customer as a source of revenue.

Except for your customers, all those other sources have a downside. When you take a loan, for instance, you’ll need to repay it with interest. If you go the equity route, you’ll need to dish out a share of the business, diluting your ownership stake.

But when it comes to customers, you get money when they buy your products or services. The more they buy, the higher your sales revenue, and the greater your profits. You can then use those profits to fuel your business expansion efforts. When you use profits to expand a business, there are no interest rates or share dividends to worry about.

 

 

Customers Can Be Your Brand Ambassadors

What if we told you that there is a way to market without spending a dime?

Don’t believe it? Listen up. Your existing customers can help you to market your business to the people in their social circles.

Did you know customers are 4 times more likely to shop from a certain brand when they have been referred by a friend? Clearly, word-of-mouth is still king when it comes to marketing. Therefore, you have to do all you can to leverage its power.

You already know that there are several other marketing options at your disposal. Digital marketing platforms such as Facebook and Google have proven effective, to begin with. Plus, good old television and print advertising still yield good results. But each of these options cost money, especially TV and print.

To turn a customer into a brand ambassador, you need to offer great products or services. Then, use loyalty programs to hook them in and get them excited. In time, they will naturally tell their friends about your business. As a result, you’ll get more customers. And more customers mean more sales!

 

RELATED ARTICLE: THE BEST WAYS TO BEGIN MARKETING YOUR STARTUP

 

Customers Are a Source of Information

A botched business expansion strategy can have disastrous effects. For one thing, you could lose a lot of money. For another, it could harm your brand’s reputation. It’s never a good sign when a store opens in a new location only to close down a short time later.

To plan and execute a perfect business expansion strategy, you must do your research and gather the right information.

For instance, if you’re planning to introduce a new product, it’s essential to forecast how your target market will receive that product.

One of the best ways to understand how customers will respond to a new product is to conduct a customer survey. This might involve giving product samples to some of your existing customers. Ask them to try the new product out and provide feedback.

Depending on the feedback you receive, you can gauge whether to launch the product as is or make improvements before launching.

The gist of it all is that customers are a valuable source of data. They understand your brand better than anybody else, so they’re well placed to offer information that can help you execute a successful expansion.

 

Need to Crowdfund? Your Customers Have Got Your Back

In 2017, businesses in the UK raised more than 60 million pounds through crowdfunding. This shows that crowdfunding is quickly becoming a go-to source of capital for many business owners.

However, the untold story is that for every business that holds a successful crowdfunding campaign, there are many others that fail at it.

So, what contributes to the success of a crowdfunding campaign?

There are many factors, but you generally need to craft a moving story about your product or business. Then, you need to widely share the campaign on social media. Importantly, you need people to believe in what you’re selling them.

When you already have existing customers who love your brand, you’ll have a head start with your campaign. Many of these customers know your potential. They therefore won’t hesitate to contribute to your campaign, especially if you’re raising money to develop an even better product.

 

Customers Can Fuel Business Expansion

As we have illustrated, customers have the potential to drive your business expansion efforts. However, as a business owner, you need to know how to tap into this potential.

Do so by offering excellent customers service, ensuring that your existing products provide value, and always going the extra mile to put a smile on a customer’s face. Remember, one loyal customer is far more valuable than two new customers. The happier your existing customers are, the more they will buy your products and spread the word about your business.

The post Your Customers Are the Key to Expanding Your Business appeared first on Business Opportunities.

Wed, 17 Jan 2018 22:31:18 +0000 Bizop Team

3 Pieces of Business Software for Startup Owners to Consider

When you start a new business, you're often tasked with doing a majority of the work yourself. Therefore, sorting through your options for various pieces of business software is likely low on your list of priorities.

First, you need to find all of your employees. Then, you’ll have to decide what types of products and services you want to offer. Next, comes strategizing about how you're going to effectively sell those products and services. Basically, most of the decisions are solely yours.

However, that doesn't mean that you have to create your own processes or start each division of your new company from scratch. In fact, there are many types of software that can make things easier for you. What’s more, they will also be beneficial to your business. This is true not only in your company’s starting phase, but as it continues to grow.

Here are 3 pieces of business software to consider.

 

RELATED ARTICLE: INCORPORATING TECHNOLOGY: HOW IT CAN HELP YOUR BUSINESS TO SOAR

 

1. Human Resources Software

Human resources (HR) is responsible for a number of duties that are critical to business success. For instance, this department is tasked with helping you find and hire employees who would be a good fit for your business. As a matter of fact, the right employees can potentially take you to the next level. It also handles other activities necessary for creating a solid workforce. For instance, its functions include scheduling, payroll, performance evaluations, disciplinary actions, and more.

That's why this category of software is the first item on your must-have list. By using HR softwaresuch as Roubler’s, you can easily create job postings. You can also set (and change) employee schedules and compile time sheets for payroll purposes. This frees up your HR staff to handle all of the other the employee issues that typically arise on a daily basis, such as call-ins or changes in benefits.

Even if your company isn’t big enough to have its own HR department, this software can still streamline processes for the individuals at your company who are responsible for these duties. Again, the less time they have to spend on HR issues, the more time they have to spend on other areas of your business.

 

Business Software - HR 300w" sizes="(max-width: 448px) 100vw, 448px" />

Roubler's HR Software

 

2. Project Management Software

As a new business owner, it can sometimes be difficult to keep track of all of the projects your employees are engaged in. This could result in missed deadlines. Then, too, if a contractor or supplier contacts you and wants the status of a particular project, you’ll have to track it down. This means contacting the person assigned to it, getting a status update, then calling the contractor or supplier back. That's a lot of work that you could eliminate. Wouldn’t it be far better if you could simply check your computer and find the status that way?

This is part of what makes project management software so invaluable. As IPM Global points out, the advantages of project management software include having greater control over your projects. That’s because all of your projects are stored in one convenient place. As a matter of fact, the entire team knows their status at all times. Project management software also makes it easier to create standard operating procedures, ensuring consistency across your business's spectrum.

Business Software - Trello 300w, Software-Trello-768x544.jpg 768w, Software-Trello.jpg 1130w" sizes="(max-width: 1024px) 100vw, 1024px" />

Trello

 

3. Industry-Specific Software

Though this category of business software is difficult to describe in general terms, wouldn't it be nice to have a program that helped you navigate the ins and outs of your particular industry? One that provides all of the features you need, and none of the ones you don't? That's what industry-specific software does for you.

 

Business Software - TradifyHQ 300w, Software-Tradify-HQ-768x463.png 768w, Software-Tradify-HQ-1200x724.png 1200w, Software-Tradify-HQ.png 1429w" sizes="(max-width: 1024px) 100vw, 1024px" />

TradifyHQ's Tradesmen

 

For instance, there is software designed to help businesses involved in electrical, plumbing, building, and heating and air. These trades have their own nuances, their own way of doing things, so having software that addresses their needs in a practical way can make running a business in one of these fields less cumbersome. Check the software options for your field. You might find one that you can't (or don't want to) live without.

 

 

Choose the Right Software for You

Finally, the right software can help you run your business more efficiently. But be sure to choose the right software. It may just mean the difference between you running your business and your business running you.

The post 3 Pieces of Business Software for Startup Owners to Consider 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-2010, Peter Thoeny, Twiki, Inc.; 2005-2007, Michael Daum http://wikiring.de
License: GPL (GNU General Public License)
Plugin Version: v2.6 - 2010-05-16
Change History:  
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: TWikiPlugins, AdminDocumentationCategory, TWikiPreferences

Topic revision: r3 - 2010-05-17 - 03:38:48 - 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