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/ ) 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, 03 Jul 2015 20:05:22 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Fri, 03 Jul 2015 20:05:22 +0000 Erin Eagan

FYZICAL isn't your typical therapy clinic. Unlike other therapy clinics, patients receive a specific program designed uniquely for them. FYZICAL provides them the freedom to live life on their own terms.

For Jim Abrams, co-founder of  the FYZICAL franchise, this isn’t just a business - this is personal. Five years ago, his father suffered a stroke that took him off his feet, and Abrams says if he would have known then what he knows now about the breadth of physical therapy capabilities, his father could have gotten back on his feet.

That motivation has served well in building a successful franchise. In a recent interview with Abrams, he discusses with us the secrets to his success and shares advice for aspiring entrepreneurs.


What's special about the franchise?

FYZICAL is the most distinct model for the new age of healthcare. Historically, the expectation was to only see and care for a particular injury with a physical therapy patient. At FYZICAL, we not only care for a particular injury, but we make them aware of other challenges they may have.

RELATED: TOP 10 FRANCHISES OF 2015

We can do this because FYZICAL has a national network of physical therapists that can gain information and best practices in a non-competitive environment. We have experts that have spent their careers focused on specific areas including balance expert, Brian Werner, MS, PT; sports-injury expert, Scott Pensivy, PT, LAT, ATC; spinal expert, Rogan Taylor; and chief nutrition expert, Rhonda Deems, PhD. We also utilize science and state-of-the-art technology and equipment that allows our network of physical therapists to identify what would best serve patients.

What is the idea behind the franchise?

FYZICAL provides the freedom to live life on your own terms. The idea behind FYZICAL was based on my own circumstances with reconstructive knee surgery and ongoing hip pain. Physicians said I needed a new knew and hip. I knew if I went through hip surgery, I'd most likely have to repeat the process later in life.

Instead, I found physical therapy to strengthen my hip. Now I don't need any medicine. I sleep well and have only occasional pain. A caring physical therapist looked beyond what the doctor prescribed, and I began to understand that physical therapists are the experts on muscle and skeletal issues.

The idea behind FYZICAL is that we not only answer patients' needs but we work towards the goal of shifting to preventative and wellness healthcare. With past businesses, we shifted from episodic work to moving toward forming lifetime relationships with the customer. I see the same thing with the human body, and today there is not a great deal of focus on prevention.

How does it compare to its competition?

FYZICAL is the prescription for physical therapy. We have a business model that's focused on the wellness of the individual, the ability to communicate effectively among professional physical therapists and a focus on the wellness and future of the patient.

It begins with a new business model that's focused on the wellness of the individual. The average physical therapy practice receives a patient referral from the doctor and only fixes the patient in a certain number of visits. We developed BodyQ, a comprehensive evaluation that measures the overall health and wellness of the muscles, joints and neurological systems to help prevent injuries and address health issues. Through  BodyQ, physical therapists can build an individualized plan to help the patient work towards living and loving their life.

As a franchise organization, we are able to employ a network of experts at the national level that discover the best treatments for patients. Through a non-competitive network, we're able to share information and the best techniques through our channels quickly.

Additionally, physical therapists have been focused on declining insurance reimbursements, which leads to less time with the patient. At FYZICAL, we are focused on the patient's well-being and healthcare prevention.

Where do you see the franchise in five years?

In five years, I see FYZICAL with 400-500 centers across the U.S. with medically based fitness. When a physical therapy private practice owner becomes a FYZICAL franchisee, the first thing we do is help them learn to manage their business. Second, we help them grow their business to move into the future. Finally, our goal is to expand into absolute wellbeing with medically based fitness programs.

Today, the choices are very small. You can only go to a big box fitness center where you don't have ability to see a doctor of physical therapy who can help with the entire wellbeing of the body.

At FYZICAL and through our BodyQ, we can do an analysis on a person's muscular and skeletal make-up and lay out an exercise program that helps people achieve their goals. Knowing and understanding the limitations of the body leads to a lower risk of injury.

What motivates you to keep going?

I've always enjoyed building businesses that serve people and answer problems that they may have. My father suffered a stroke five years ago that has literally taken him off his feet. I didn't fully understand physical therapy then, and if I would have known what I know now about the breadth of physical therapy capabilities, he could have gotten back on his feet.

I also really like what I'm doing. Throughout my career, I've seen people achieve what they didn't know was possible. That's what physical therapists are able to do.

Finally, I love what we do. I've always been in service and I love seeing the excitement and enthusiasm of physical therapists. Before FYZICAL, they didn't know their future success or the idea that they would have the freedom to live life on their own terms.

If you were to start again, what would you do differently?

I would have taken a more proactive stance in investing and owning FYZICAL centers. This would have allowed me to be a better leader and help potential franchisees better understand and illustrate what we're doing.

Now, I'm currently invested in FYZICAL clinics, which allows me to show potential franchisees how our model works and introduce them to the team of physical therapists that care for the patient's well-being.

Please tell us your secret to success&hellip

I came to business with a different view. I was an accounting teacher, and I took advantage of this background early in my career. With FYZICAL, we use Praxis 10, which is the business science that's proven to drive success within service businesses. Over the years with different business endeavors, I've been answering the 10 questions from Praxis 10, which has lead to success.

What is one thing that really excites you?

The one thing that really excites me is success of people. I've seen so many franchisees and senior-level employees become successful. It's rewarding to know I've had an influence on franchisees' and employees' lives and their businesses. Business has always been about the benefit I can bring franchisees and employees. I know if I do these things really well, they will get rewarded.

Any final words for aspiring entrepreneurs?

Know what it is important to you. You have to be able to understand yourself to take on a business and seek success.

Where can people find out more about FYZICAL?

Visit the website here.

Where can people find FYZICAL on social media?

RELATED: TOP NEW FRANCHISES TO INVEST IN

Fri, 03 Jul 2015 18:04:41 +0000 Erin Eagan

Paul Altero and Bill Hart opened the first Bubbakoo's Burritos restaurant in 2008 in Point Pleasant, N.J. The restaurant was in a 1,200 square-foot location connected to a Jersey Mike's Subs restaurant. It was an instant success.

A Loyal Following on the Jersey Shore

Since its opening, Bubbakoo's has been in high demand for residents of the Jersey Shore. So much so that its founders opened more restaurants along the Jersey Shore.

The eight restaurants have all flourished, to the tune of average unit volumes of around $725,000 in 2014, with two locations, including the first and smallest one in Point Pleasant, grossing more than $1 million.

Why the name Bubbakoo's? It was coined by Altero and Hart and meant to evoke a place of escape and happiness, so each restaurant is beach-themed.

Bubbakoo's has also relaunched delivery, after a two-year hiatus, and even has a mobile app for ordering and payment. So, what's the next logical step for this growing chain? You guessed it. Bubbakoo's is ready to start franchising. As opportunities arise, they'll open new restaurants in neighborhoods where they can build bridges with local residents.

More Than Just Another Burrito Joint

As the name implies, the restaurant focuses on burritos, but what's different is that Bubbakoo's offers 16 different proteins, including six types of chicken (shredded, grilled, fried, Buffalo, barbecue and ghost pepper), carnitas, Sriracha pork, barbecue pork, steak, ground beef, Buffalo shrimp and a steak-and-shrimp combo. For vegetarians, Bubbakoo's offers bean-cheese-guacamole or batter-fried jalepeños.

If that's not enough, how about panko-crusted fried rice-and-cheese balls covered in nacho cheese with a choice of toppings, including mango, bacon, peppers and onions. For dessert? Chocolate tacos, fried Oreos and ''Love Chips,'' fried tortilla chips drizzled with caramel or raspberry sauce.

Looking for Franchisees

Bubbakoo's is looking for high-energy, motivated professionals with ample restaurant management experience and a passion for guest service. Does this sound like you? Then think about owning your own Bubbakoo's Burritos.

Bubbakoo's team of experts has developed a one-of-a-kind support system, designed to provide you and your staff with the training and tools required to run a productive business. With your access to the Bubbakoo's Burritos business franchise model and brand, you will be given the following tools and support: location assistance, headquarters-based training, supplier assistance, ongoing training and field support and marketing assistance.

So what are you waiting for? Become the next Bubbakoo's franchisee!

For more information on Bubbakoo's Burritos, click here.

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.3 - 29 Aug 2009
Change History:  
29 Aug 2009: 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: TWiki:Plugins/HeadlinesPlugin
Feedback: TWiki:Plugins/HeadlinesPluginDev
Appraisal: TWiki:Plugins/HeadlinesPluginAppraisal

-- TWiki:Main.PeterThoeny - 29 Aug 2009

Log In, to register you need to be a member of the club and contact the webmaster.
Topic revision: r2 - 2009-08-29 - 21:55:14 - 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