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, 17 Aug 2018 03:56:25 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Fri, 17 Aug 2018 03:56:25 +0000 Laurie Bennett

For prospective doctors of philosophy, writing a dissertation proposal is the first step on the way to their desired degree. If you are working on obtaining an advanced degree in order to further your business aims, you’ll need to understand this basic point.

The proposal for your dissertation is a plan for your further study. Therefore, it should convince professors that your topic is worth researching. Having a good proposal is half the battle. It is the thread that you will follow throughout the process of writing your dissertation.

Let’s take a closer look at this type of scholarly writing. It has its own features and peculiarities. Firstly, a dissertation proposal is not an essay or a mini-dissertation. It is an in-depth essay plan. It will provide you with guidance while you’re writing your dissertation. Therefore, you have to know how to differentiate between your dissertation and the proposal for it. This what we are going to explore in this article.

 

RELATED ARTICLE: HOW TO PREPARE TO RUN YOUR OWN BUSINESS WHILE STILL IN SCHOOL

 

Your Dissertation Creates a World

If a dissertation is a small world that you will bring into being, a proposal is a map of that space within the larger universe. The emphasis here is on the idea of mapping rather than creating. Before you can become a god and invent your own world, you have to become a cartographer. This means that the goal of your proposal is not to create your world, but rather to suggest what it will look like when you do create it.

 

What Does a Dissertation Proposal Do?

To begin with, let us look at the things dissertation proposal actually does for the future dissertation itself:

  • It puts forth your argument:Your proposal points toward how you will prove your argument. It should therefore give well chosen examples. However, you’ll omit any detailed explanation of these examples. The main idea is to present your general ideas and briefly describe the arguments without actually proving anything.
  • Your proposal describes how your argument fits together:What examples will you use, in what order, and why? How is the argument sequenced and subordinated? You will probably need to provide a chapter outline. However, you should offer a clear and extended overview of your argument long before you include that.
  • It outlines the research methodology:How will you state your argument? What theoretical, historical, contextual, and interpretative tools will you use? Will you employ any particular approach?
  • Your proposal fits your dissertation topic:You have to compose the proposal in accordance with the type of the dissertation you will write later.

 

dissertation 300w, dissertation-2-768x512.jpg 768w, dissertation-2-1024x683.jpg 1024w, dissertation-2-600x400.jpg 600w" sizes="(max-width: 1050px) 100vw, 1050px" />

Follow Experts' Basic Writing Tips for Your Dissertation Proposal

The whole academic system being built on the principle of the writing researches and papers, several expertscontinually suggest ways to be efficient in writing. For dissertation proposals it is worth remembering that this is not a traditional essay, however. It may look a lot like an essay. But its purpose differs crucially. Your proposal has to advance the topic while not explaining it or dwelling on it in detail.

Therefore, your dissertation proposal should include the following parts:

  • The literature
  • Your problem statement
  • The research question
  • Your methods of investigation
  • The main data sources
  • All references.

To begin writing a proposal, you should look for literature on topics that you find interesting and motivating with an eye for further examination. As you further explore these topics, you are likely to come upon some problem which has not yet been solved by other scholars.

 

Clearly Formulate the Problem You're Studying

Upon finding the possible problem to study, you must next clearly formulate it into a problem statement and the subsequent research questions. Identify the core problem and main research question you will explore in your dissertation. Additionally, include some sub-questions that you can use to tackle the main question step by step. This will outline the entire body of your dissertation. Thus, it will become a convincing argument in favor of its approval.

The next step to do is to create a methodology for your research. This requires explaining how you will answer your research questions, including the methods and materials you will use. Apart from the methodology, sources of information are also of special importance. Outline where you will find the data you need, including how you will search the relevant literature. List the main journals that you will consult in the course of your writing.

 

Express Confidence

The last tip is to always be confident in what you do and what you are trying to achieve. Remember that your dissertation can make a huge difference in this world. If your research focuses on something you really believe in, then go for it!

Don’t hesitate to rewrite your proposal several times to make it convincing and strong. Trust us. There is no way your proposal will fail to get an approval then.

The post How to Write a Winning Proposal for Your Doctoral Dissertation appeared first on Business Opportunities.

Fri, 17 Aug 2018 03:46:15 +0000 Laurie Bennett
Photo by Lum3n.com from Pexels

Are you thinking of starting a restaurant?

If you are, you must be willing to conquer challenges and beat slim odds of success. Starting any business is difficult. However, starting a restaurant is especially problematic. What’s more, failure in this industry is more common than you might think.

All the same, you can plan for and avoid some basic and common mistakes. In other words, you can increase your chances of success.

It’s important to keep in mind that running a restaurant is about more than just selling food. From the selection of the type of plates and silverware to how a menu looks and feels, every detail comes together to create an overall customer experience. What’s more, customers’ experience of your restaurant can ultimately make or break your restaurant.

 

RELATED ARTICLE: 4 TIPS FOR SURVIVING THE FIRST YEAR IN THE RESTAURANT BUSINESS

 

You Will Need to Work Hard

Some new owners tend to believe that when they’re starting a restaurant they won’t need to work hard, simply because they’re the owners.

Those who enjoy weekends or going out with friends and family will be faced with a new reality. Owning any business involves working long hours. What’s more, restaurants are even more demanding. Weekends and nights are a restaurant’s busiest times.

At least in the early stages, owners need to be present. Further, they need to be completing their tasks and fulfilling their obligations. Therefore, serve as an example for your employees. Show them how you want them to treat your customers. Demonstrate how the business needs to operate.

 

What About Funding for Starting a Restaurant?

Financing is another major obstacle for starting a restaurant.

Maybe you have a solid business plan. That’s a good thing. However, a lack of capital can place a great deal of pressure on cash flow.

One of the biggest mistakes you can make is to underestimate the cost of starting a restaurant. Additionally, you might misjudge and how much it costs just to keep the doors open during those initial months and years.

Keep in mind that you’ll need to market your new restaurant. You’ll also need to adjust the menu and find the right mix of personnel. This can make reaching profitability or even the break-even point difficult to achieve.

Therefore, find ways to reduce the risk of cash flow problems. In other words, learn to manage your finances wisely. For example, instead of merely analyzing the cost of building out and commencing operations, factor in operating expenses as well. These expenses will include salaries, products, utilities, and other things.

 

Take Note of These Four Things When You’re Starting a Restaurant

When you’re starting a restaurant, pay attention to the follow four components. These will decide the success or failure of the organization.

  1. The food must be good. Serving a bad meal is a fast track to failure. However, great food is not enough.
  2. The people who work in the restaurant need to be service-oriented. They need to take care of customers and provide an exceptional experience. Great customer service is indispensable for success.
  3. Additionally, the business processes of the organization need to be efficient. Customers must not be made to wait half an hour for a waiter to take their order. This is even true if your restaurant happens to be ''busy tonight.''
  4. Presentation is also critical to your restaurant’s success. Therefore, look for quality hospitality supplies at VegaDirect.ca. Also remember that the presentation of the food is a key component of customers’ dining experience.

These four components work in synergy to produce a great product. However, problems with any of these pieces will lead to eventual failure.

 

What Is Your Restaurant's Style?

As you finalize your plans for starting a restaurant, focus on your restaurant’s style.

You probably already know the style you want your restaurant to project. Keep this style in mind as you organize and plan the menu and its contents. Additionally, consider the latest techniques and tendencies in design as they relate to your restaurant’s style.

Further, your restaurant’s style will influence the level of service that you will offer.

 


The tendency for food selection at restaurants is shifting toward a smaller menu and more specialized items. Will this trend affect your restaurant’s style? Furthermore, results from recent studies suggest that organic foods, fusion meals, and microbrews are increasing in popularity.

As you develop your style, remember that going to a restaurant is a recreational activity. Customers are paying for an experience more than just a meal. What will make your restaurant stand out? Will customers rave about the fine selection of crafted beers? Will they be talking about the amazing sauces your chef adds to appetizers?

Think about why a customer will walk into your establishment instead of going to your competitor. Focus on the type of product that you will deliver.

Then consider how the quality, preparation, service, and presentation will provide an exceptional experience that will earn positive reviews and keep people coming back.

The post How to Anticipate and Overcome the Difficulties of Starting a Restaurant 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