Headlines Plugin


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


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


Slashdot News


  header="*[[$link][$title]]:* $description" 
  format="$t* [[$link][$title]]"
to get the latest Slashdot news as a bullet list format:

Business Opportunities Weblog


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

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

Tue, 17 Oct 2017 02:38:04 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Tue, 17 Oct 2017 02:38:04 +0000 Bizop Team

4 SEO Mistakes You Don’t Have to Make

Ryan Stewart’s new SEO office in San Franciscois teaching people about the importance of SEO. However, it is not the only SEO office that is doing so.

For the uninitiated, SEO stands for “search engine optimization,” and it refers to practices that help you make the most of the search algorithms that allow users to find your website.

Content marketing has reached a milestone, thanks to the evolution of SEO. With more than 2 trillion Google searches happening every year, SEO is needed now more than ever so that your website can rank better on the search engine results pages, or SERPs.

Most website owners understand these concepts. However, despite the fact that they are applying SEO basics on their websites, their rankings don't always improve. In fact, they continue to lose traffic on a daily basis. There's only one reason behind it. They are making mistakes when they apply their understanding ofSEO techniques.

If you want to find your website at the top spot on the search engines, you need to make sure that you follow proper SEO guidelines and avoid making the same mistakes.




4 SEO Mistakes to Avoid

Here is a quick guide to some common mistakes that website owners make with regard to SEO. Are you making these mistakes? If so, correct them now and get more traffic.


1. Not Including Relevant and Internal and External Links

An article with no links in it fails to promote engagement. When your goal is to captivate a larger audience, you must create ways for users to get more valuable information from your website. Here's where internal and external links can help.

If yours is simply a review-providing website, then you can place links to manufacturers’ websites so that visitors can learn more about the companies behind the products you review. Make it easy for people to gain more information about those products. Similarly, you can link out to other websites that are relevant to the article.


SEO - 2


On the other hand, internal linking encourages your website’s visitors to spend more time on your site. This, too, is a good SEO tactic.


2. Choosing One Word as a Keyword

In the old days when SEO wasn't that big of a deal, website owners used single-word keywords. Surprisingly, this tactic worked like a charm. Now, however, there is far more traffic. As a matter of fact, more than 40,000 searches are conducted on Google every single second of every single day. In this heady milieu, one-word keywords just aren’t enough. They won't get you traffic like they used to.


SEO - 3 300w" sizes="(max-width: 700px) 100vw, 700px" />


With the increase in competition among websites and businesses, you need to think of longer keywords.Phrases would be even better. For instance, if you have chosen a keyword for an article to be “Iphone X,” you can change that to “features of Iphone X.” Longer keywords, often referred to as “long tail keywords,” bring more traffic from search engines than do shorter keywords. And that’s why all of your articles should have long tail keywords.


3. Discounting Dated Content

Content is king. We have all heard this phrase. What it means is that we need to continuously come up with new content if we wish to bring in new audience members and retain our position on search engines. However, old content can be of help as well.

According to reports, changing old content by adding images and updating it can result in a 111% bump in organic traffic. What’s more, this strategy will probably cost you less than coming up with new content on a continuous basis.

Pick your old content strategically and start making changes to it. Then republish it to increase engagement on your site.



4. Forgetting Mobile Users

According to W3Tech stats, 40% of people use a smartphone to make Google searches every day. Therefore, don’t neglect mobile users. If you do, you’ll end up with less traffic, and it could also affect your SEO ranking. This is because Google considers mobile-friendliness a key factor in how it ranks websites.



SEO is a complex field, and it is common for people to make mistakes. However, you don’t have to make the same mistakes everyone else is making. Use what you’ve learned here to be aware of SEO mistakes to avoid. Then correct these issues on your website and start seeing great results.

The post 4 SEO Mistakes You Don’t Have to Make appeared first on Business Opportunities.

Mon, 16 Oct 2017 08:31:53 +0000 Bizop Team

Should Your Small Business File Bankruptcy?

If cash flow is low and you're struggling to make ends meet, you've probably considered bankruptcy. Although the notion sounds scary and like it might spell the end for your small business, that's not always the case. Understanding the fundamentals of bankruptcy and knowing how and when to file for your small business can help you through a difficult time. As a matter of fact, it can get you back on the road to success.


Bankruptcy Basics

At its most basic level, bankruptcy helps you gain control of your finances when your assets and business earnings are not enough to cover your debts. According to Indiana attorney Rowdy G. Williams, it can be a good way to eliminate unsecured debts, including credit card debts or business loans. It cannot be used for other legally obligated debts, such as child support or tax debts.

''Some types of bankruptcy may also eliminate liens on your property,'' Williams explains. ''Liens are creditors’ rights to take portions of your property to repay a debt. However, bankruptcy can't always eliminate all these liens, so creditors may still be able to take some of your property before the debt is wiped clean.''

In other words, bankruptcy isn't always a cure-all move. However, it can be a way to significantly lighten the load.




When to Consider Declaring Bankruptcy

Bankruptcy is an option for debt-laden enterprises, but it may not always be the right one. As a small business, it's sometimes best to simply reorganize funds and assets to accommodate the debt.

If personal assets are not at risk, then there's often no need to file. You can simply close the doors and walk away without risk to your personal credit. However, organizing your business as a corporation, LLC, or other limited-liability entity won't always protect your personal assets.

''Businesses that operate as sole proprietorships or partnerships expose their personal assets to greater risks,'' explains an article from the Intuit Small Business Blog. ''But even when you've set up a limited-liability structure for your company, your personal assets may still be in jeopardy, depending on how you run your business.''

Too often, business owners fail to properly separate their personal assets from their businesses, and the courts won't confirm the separation. The business owner will be liable for company debts, and bankruptcy will be one of the only options.



Types of Business Bankruptcy

There are three types of business bankruptcy in the US. If your business is not in the US, consult with legal experts for the specifics that affect businesses where you are.

The type that matches your needs largely depends on your business structure. Sole proprietors in the US, such as small businesses, may file for Chapter 7, Chapter 11, or Chapter 13.


Chapter 7

This is best for when a business will entirely liquidate its assets and won't continue. An example of this is when the business is run by a single owner or is based on the owner's skills. They will not be able to reorganize, so the bankruptcy will simply absolve them of their financial obligations.


Chapter 11

If the business has a future, this is a better option. The company will file a plan of reorganization with the court and their creditors. If approved, your business will follow a payment plan over a certain time period. The business will be allowed to continue as long as the plan is approved and the company can keep up with its payments. Getting approval is very difficult, and many businesses don't succeed with their filings. As such, it's the least common type of bankruptcy for small businesses.


Chapter 13

Usually, Chapter 13 is reserved for consumers, but sole proprietorships may also use this option. It also involves applying for a repayment plan with the court so that your business may be allowed to continue. Chapter 13 bankruptcy can be a good option for sole proprietors who have their personal assets mixed in with their business assets. It protects them from losing their home, vehicle, or other personal assets.


How Bankruptcy Will Affect Your Business

As mentioned previously, filing for Chapter 7 bankruptcy means that your business will have to shut down. Unfortunately, the business owner may not escape unscathed in a sole proprietorship structure. It can also affect your personal credit. This can make it difficult for you to open future businesses or take out loans.

It's a little different if the business is a partnership. ''The bankruptcy does not automatically touch the assets of any of the other partners initially,'' explains an article from Kabbage. ''The trustee will have to sue to liquidate any assets that the remaining partners have.''

With both Chapter 11 and Chapter 13 filings, your business can continue. However, it will make filing taxes and making payments more difficult. You'll want to consider having an accountant and bankruptcy attorney on retainer to help with the more complicated paperwork.

Bankruptcy may leave a mark on your business, but it doesn't mean things are over. It can be the solution to overcoming financial burdens and creating a firmer pathway to success.

The post Should Your Small Business File Bankruptcy? appeared first on Business Opportunities.

Mon, 16 Oct 2017 08:28:58 +0000 Bizop Team

Project Management Apprenticeships Change the Face of that Career

Twenty years ago, project management was almost exclusively a career in the construction and IT industries. Today, however, project management is a fundamental part of all organizations, as most businesses have adopted a project-centric business model.

Businesses have seen rapid change in many areas of the workplace over the past 20 years, not least the digital revolution and the impact of social media. These affect all areas of business. Further, these changes look set to continue for the foreseeable future. Yet even with these significant changes, some career opportunities remain fundamentally unchanged. Think teaching, law, medicine, accountancy. On the other hand, some careers are entirely new. For instance, digital marketing, social media management.

Yet others, such as project management, have changed almost beyond recognition. What have these changes meant for the traditional route into a project management career?




The Traditional Route to a Career as a Project Manager

Typically, a project manager would be degree-educated. They will have worked for some years in a particular industry before becoming a project manager, usually in that same industry. But we have seen project management grow and develop rapidly as a profession. Now, there is an internationally recognized range of qualifications from the Association for Project Management (APM) in the UK and the Project Management Institute (PMI) in the US.

Further, the profession has been granted a Royal Charter in the UK. This places it on an equivalent footing with, say, accountancy, with all of its rigorous exams and continuing professional development programs.

Until recently, this remained the most common route to becoming a project manager. However, businesses have increasingly begun to recognize the importance of finding effective project managers with the right balance of project management skills and qualifications. Therefore, many organizations have taken a greater interest in training and developing their project management capability in house.



A New Route into Project Management

Initially, improving in-house project management capability took the form of ensuring more existing project managers gained recognized qualifications. For some organizations this meant embarking on specific training in existing in-house methodologies for their project staff.

More recently, however, there has been a new approach. That is, businesses employ trainee project managers before they embark on a degree course. They then develop this talent with the help of degree-level apprenticeships.

Combining real-life workplace experience with degree-level training enables businesses to select the right talent early on. They can then shape these team members’ experience to meet the requirements of their particular organization or industry sector.

Therefore, it is now possible for someone to become a project manager through a project management apprenticeship scheme. Apprenticeships such as this are changing the traditional perception that an apprenticeship is a non-academic option. Businesses now view them as an alternative to a degree-level qualification. Further, these apprenticeships come with a guaranteed job and a career path at the end of the training period.

Project management may not yet be as well established as other professions such as accountancy or law. However, it is certainly heading that way. For a qualified professional there are opportunities in a wide range of industries.

Once qualified via the higher apprenticeship route, a project manager will have real-world experience. Their project management skills will be derived from their having been involved in real-world projects. They will understand, for example, how to manage risks and change and how to budget and schedule effectively. Perhaps more importantly, they will have learned how to work in a team, how to communicate effectively, how to solve problems, and how to negotiate with senior stakeholders.


How These Project Management Apprenticeships Came About

The UK government recognized the need to develop better apprenticeship schemes for young people. Therefore, the UK government initiated new schemes in early 2017. Their intention was to create 3 million apprenticeships by 2020. A new tax in the UK that is applicable only to large organizations has already begun funding these apprenticeships. Businesses can offset this tax, however, by training apprentices.

Project management is at the heart of so many industries, from construction, engineering and IT to banking, tourism and healthcare. Therefore, many organizations are already developing their internal project management capability under this scheme. Their professional project managers will develop the skills, attitudes and behaviors required to succeed in any industry. These project managers will learn how to ensure successful project outcomes consistently. That’s because their training will be based upon documented best practices that have been honed over many years. They will, therefore, contribute to the continued success of the organizations they are a part of.

According to the PMI’s most recent Pulse of the Professionstudy, organizations that train and develop their project managers successfully complete projects more often and waste less money on projects. This can only be good for the bottom line as well as good for the individual project managers and project teams.

The post Project Management Apprenticeships Change the Face of that Career 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

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