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 ExplanationSorted ascending Default
href="..." (Alternative to above) N/A
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
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
limit="12" Maximum number of items shown Global LIMIT setting
refresh="60" Refresh rate in minutes for caching feed; "0" for no caching Global REFRESH setting
"..." source of RSS feed; this can be an url (starting with http) or a web.topic location for internal feeds None; is required

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:

Fri, 15 Nov 2019 23:23:37 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Fri, 15 Nov 2019 23:23:34 +0000 Carrol Strain
Photo by Vladislav Reshetnyak from Pexels

Anyone who trades on the Forex market wants to be profitable with that undertaking. Moreover, Forex traders who are committed to the game also want to improve their profitability as much as possible.

Does this describe you?

To take your profitability in the Forex market to the next level, what can you do? While you cannot expect to make a certain amount of money every day, you can aim to make a little more each day.

Some Forex traders claim they don’t know of strategies to increase their profitability. However, Forex Academy, the leading news and research website for the Forex industry, is here to change all that. They believe there are three basic reasons why Forex traders aren’t profitable. Want to find out more? Let's take a look.

1) Improper Position Sizing Will Limit Your Profitability

Risk management is a crucial part of Forex trading. Additionally, position sizing is an innate part of risk management. In fact, seasoned traders can spot the difference between a profitable trade and a super-profitable trade by taking a look at its position size. It's pretty complicated, but you can learn when to place a larger trade to minimize your trade's risk exposure.

For example, if you see that the market is working in your direction, don't waste time wondering whether you should increase your risk or not. Just do it. Go with the flow when the market is on your side. This will give you a better chance to increase your profitability.

However, if your instincts are that the market is volatile, it can be better not to increase your risk. Let the turmoil pass before you make a larger trade again. Until then, play smaller hands until you better understand the market's ongoing condition.

RELATED ARTICLE: SOUTH AFRICA: HOME TO FOREX TRADING MILLIONAIRES

2) Failure to Adapt to Market Conditions Will Keep Your Profits Low

Every website on Forex trading will tell you one thing: The market is volatile, and you should always adapt to changing conditions. Forex Academy also supports this strategy.

If you don't adapt to changing market conditions, your strategies won’t always work. For example, you cannot expect to win big when the volatility is low. Of course, the risks are also lower at those times, but then, so is the profitability.

That is why the experts from Forex Academy advise new traders to assess the market before confirming their trade order. Try to plan your trades ahead of time by first predicting the market’s condition.

Also, be reasonable with your expectations. Don't expect to make millions with every trade. It's not a lottery where you will either win the jackpot or nothing at all. Small gains count for something, too.

3) Fear of Failure Keeps You Playing Small

Fear of failure will cripple your confidence and limit your profitability. That's not the way forward.

Of course, when you are trading in the Forex market, you should be prepared to lose at least some of the time. However, think of it in terms of a learning curve.

As an example, some traders short their trades when the pair falls, or they go long when they see a rise. While this strategy can be profitable sometimes, it has its limitations.

For one thing, it won't get you a good price all the time. You could also miss out on some pips that could improve your reward/risk ratio. Moreover, this strategy can cause you to enter levels that don't allow you to pull back.

Your Profitability in the Forex Market Largely Depends on You

These three factors can combine to form a massive obstacle in a trader's mind. So if you notice one of these obstacles is blocking your profitability, crash through it as soon as possible. Then your Forex trading can be more profitable than ever before.

The post Profitability in the Forex Market: 3 Factors That Can Hurt You appeared first on Business Opportunities.

Fri, 15 Nov 2019 20:19:11 +0000 Carrol Strain
Image by Mudassar Iqbal from Pixabay 

SaleSource is an AI-powered, ecommerce marketing tool that helps online businesses grow faster. At its core, SaleSource provides business owners with the ability to analyze products, evaluate market trends, and keep a close eye on competitors. These things are crucial in finding hot, trending products.

Drop Shipping Will Help You Start Your Own Business

In recent years drop shipping has become a popular way of earning income from the comfort of your own home.

For example, let’s say you’ve been thinking about opening up your own online business, but you don’t know where to start. You don’t know what you should sell and you don’t have much money to invest into products. Plus, when you look around, you don’t have room for inventory.

That's where drop shipping comes in. With drop shipping you can sell products online without their ever spending time in your garage. All you need is a computer, an online store, and a basic understanding of how to market and sell online.

How Does Drop Shipping Work?

Here’s how it works, in a nutshell. First, you find what you want to sell from a supplier. Then list that product on your website at a price you set.

Next, when someone places an order for that product, they pay you the retail price you’ve set. At this point, you’ll place the order with your supplier. They sell you the item at wholesale price.

Now, here comes the best part: you now have that item shipped directly to your customer.

Here’s an example. Let’s say you found a watch on a supplier's website for $10. You would then list it on your own website for $30. When the order comes through your website, you then place your order with your supplier. You give the supplier your customer's information so they can ship the product for you directly to your customer.

Finally, you keeping the $20 profit you just made. That’s pretty much it.

Here’s How SaleSource Fits In

Now, you might be wondering why somebody wouldn’t just order the watch directly from your supplier's website?

Well, there are a few interesting phenomena at play here. For one thing, the Internet is vast. For another, most consumers have no idea which supplier to turn to when they want to buy something. Most are in a hurry, so they don’t take the time to find out which suppliers are best suppliers to meet their needs.

Then again, when people buy things online, they’re not just buying into products. They’re buying into the marketing, brand, trust, and lifestyle these products represent.

With drop shipping, you can focus on marketing your products. That is, you can practice saying the right things at the right time and providing real value to the right people. You’re free do these things because you’re not warehousing your inventory. Nor are you having to deal with most of the other challenges that come with running an ecommerce business.

However, one of the most important aspects of this business model is to actually find good quality products to sell. That's where product tools like SaleSource come in really handy.

Learn More from This SaleSource Review

SaleSource is an AI-powered ecommerce marketing tool that helps online businesses grow faster. At its core, SaleSource provides business owners with the ability to analyze products, evaluate market trends, and keep a close eye on competitors. These things are crucial in finding hot, trending products.

SaleSource is made up of four different elements. These are the product analyzer, the store analyzer, the marketing center, and the sales center. These elements allow users to:

  • Find long-term best-selling products
  • Identify the cheapest and most reliable long-term suppliers
  • Identify viral products
  • Make easy and convenient price comparisons across the board
  • Identify and keep a close eye on competitors
  • Make sure products aren't saturated
  • Get better at marketing with compelling product descriptions and high-converting product videos

SaleSource Product Center

The SaleSource Product Center will give you all of the most important data you’ll need to know before attempting to market a particular product. At its heart is the product analyzer. This gives you the ability to determine whether the product has potential as a lucrative item in your online store.

RELATED ARTICLE: MAKE GREAT PACKAGING DESIGN A PRIORITY

Also, it has a tool where you can either drop product images into the software, as shown here….

Upload images to SaleSource 300w, SaleSource-1-696x422.png 696w, SaleSource-1-692x420.png 692w" sizes="(max-width: 725px) 100vw, 725px" />
… or you can import the Aliexpress or Shopify product link, as shown in the image below.
300w, SaleSource-2-696x423.png 696w, SaleSource-2-691x420.png 691w" sizes="(max-width: 724px) 100vw, 724px" />

There is also a third way, which is to use the Chrome extension, like so:

146w, SaleSource-3-204x420.png 204w" sizes="(max-width: 246px) 100vw, 246px" />
This versatility makes SaleSource a truly useful tool that will suit almost every online seller.

After you have uploaded your products and SaleSource has completed its analysis, you’ll be able to see all of the key product data. This would include the least expensive and most reliable suppliers, as well as your competitors, product descriptions, and product videos.

300w, SaleSource-4-768x378.png 768w, SaleSource-4-324x160.png 324w, SaleSource-4-533x261.png 533w, SaleSource-4-696x343.png 696w, SaleSource-4-853x420.png 853w" sizes="(max-width: 999px) 100vw, 999px" />

Additionally, the product center contains sections that will help you to carry out targeted product research. For example, you can search for topics such as “Trending Now,'' ''Best Sellers By Niche,'' and ''Best Sellers All Time.''

All of these topics are routinely updated by the AI-powered software, which continuously scouts the Internet to find the best deals.

SaleSource Store Center

This feature allows users to perform in-depth analytics of their store’s competitors. To put it simply, the product center helps you find your competitors. Meanwhile, the store center helps you to take your best ideas and apply your own marketing and product research strategy.

Additionally, the store analyzer will provide you with information about your competitors. For example, you will learn about their estimated monthly revenue, as well as their best-selling products, their Facebook marketing campaigns, and the apps they use. Here’s an example in the image below:

300w, SaleSource-5-768x738.png 768w, SaleSource-5-696x669.png 696w, SaleSource-5-437x420.png 437w" sizes="(max-width: 884px) 100vw, 884px" />

You’ll also be able to view the ''Top Stores'' (both generally and by niche). For inspiration, use the ''Store Tracker.'' This way, you’ll never lose sight of your key competitors. You can also tap into the professionally curated ''Store Checklist.'' Every drop shipping store needs to have access to tools like these in order to be successful.

SaleSource Marketing Center

This feature will help you to market your products the right way, using product videos to capture consumers’ attention. The marketing center offers up a product video finder, for example, as well as a Facebook video ad finder and a traffic checker.

Facebook Video Ad Finder

The Facebook Video Ad Finder is particularly useful, as it is filled with a seemingly endless array of relevant product videos. In fact, there are more than 300,000 of these videos at the time this article is being published, with more on the way, all the time.

What’s more, you can use any of these videos in your own marketing campaigns. Just imagine: More than 300,000 ideas are just waiting for you to use them in your own marketing campaigns. This gives you an extraordinary opportunity to excel in the marketplace and outpace your competition.

RELATED ARTICLE: 2019 MARKETING TIPS AND TOOLS FOR ONLINE BUSINESSES

SaleSource Sale Center

When you first visit the Sale Center, you’ll see some short training videos, which are definitely worth watching. There is also an ''Import From Shopify'' feature. This comes in super handy for those online business owners who are using the Shopify platform (by far the most widely used platform in the drop shipping business).

Arguably the most underrated SaleSource feature is called ''Factory Pricing.'' Here, a dedicated team of specialists source specific items at your request. This will help you to avoid large mark-ups. (You might run into this problem otherwise, as there is no guarantee that you're always dealing with suppliers directly.)

300w, SaleSource-6-80x60.jpg 80w" sizes="(max-width: 550px) 100vw, 550px" />

What About Pricing?

SaleSource pricing currently stands at $69 a month. If you review all of the SaleSource features we discuss here, you’ll have to admit what a bargain this is. In short, you’ll not only be getting what you’re paying for, but you’ll get, in fact, so much more.

SaleSource pricing 123w, SaleSource-7-172x420.png 172w" sizes="(max-width: 277px) 100vw, 277px" />

SaleSource Could Be the Answer to Your Prayers

SaleSource is a cutting-edge, ecommerce product research tool that may well be the answer to the prayers of small online business owners and drop shippers.

Of course you could manually do what each of the features of SaleSource does. However, doing that would take a staggering amount of time. To put it bluntly, SaleSource does a great job of saving business owners both time and money. Moreover, with SaleSource, you’ll no longer find yourself wasting time on products that don’t sell.

So if you're serious about starting and running a successful online business, $69 a month is a small price to pay, because with SaleSource you’ll have much better odds at succeeding.

For more ideas about how to start and run your own online business, take a few minutes and browse our site.

The post SaleSource Review: Drop Shipping Made Simple appeared first on Business Opportunities.

Thu, 14 Nov 2019 22:57:42 +0000 Carrol Strain
Photo by The Lazy Artist Gallery from Pexels

Do you need a little inspiration today? Well, buckle up, buttercup. This article features stories about some winning entrepreneurs who once struggled to get started. All of them took some risks, overcame hardships, ended up victorious-and now give back generously.

RELATED ARTICLE: ENTREPRENEURIAL SKILLS YOU GAIN FROM TRAVELING THE WORLD

Meet Winning Entrepreneur Jack Ma

Jack Ma born 55 years ago in Hangzhou, China. His parents were very poor. In fact, the family of six survived on only $7 a month.

However, when China opened its doors to trade from the West, Ma, then a teenager, saw an opportunity. He began offering his services for free to visitors from the US, showing them the sights in his city. In the process, he not only learned to speak English, but he also learned a great deal about American culture.

That knowledge became the foundation of one of the world’s most powerful technology conglomerates, Alibaba Group.

With a net worth of more than $40 billion, Ma is now China’s wealthiest man. He is also one of the wealthiest individuals in the entire world-and one of the winningest of winning entrepreneurs.

Oprah Winfrey Is a Household Name

Winfrey was born in 1954. Until she was about six years old, Winfrey’s grandmother raised her on a farm in rural Mississippi. Her family was very poor. However, she says that even as a small child she felt her life would end up quite another way.

After a troubled adolescence spent with her mother, she moved to Nashville to live with her father. She attended Tennessee State University then began working in radio and television broadcasting.

Her broadcasting career led her through Nashville, to Baltimore, and to Chicago. There she hosted a talk show that eventually outpaced her biggest competitor at the time, Phil Donahue. In 1986, she launched the Oprah Winfrey Show, which ran for 25 years.

Today, her name is a household word. She is best known as a winning entrepreneur, a talk show host, a media executive, an actress, and a billionaire philanthropist.

Chris Gardner’s Book Became a Successful Movie

Chris Gardner’s autobiography, The Pursuit of Happyness, inspired the movie of the same name, starring Will Smith. If you have seen the movie, then you know that Gardner and his small son lived on the streets of San Francisco while Gardner struggled to gain traction as a stockbroker.

In fact, for a full six months, Gardner worked without pay while he trained to do the work he wanted to do. Although he was in competition with nineteen other candidates, he eventually won a coveted position with Dean Witter. Until then, though, Gardner and his son slept in homeless shelters and cheap motels and even a subway station bathroom.

Today, Chris Gardner is a winning entrepreneur, a philanthropist, and a sought-after motivational speaker.

John Paul DeJoria Puts His Money Where His Heart Is

Another successful entrepreneur who started out as a homeless single father was John Paul DeJoria. Among the products he ended up bringing to market are Paul Mitchell hair products and Patrón tequila. Although he started with only $700 and was homeless twice, this entrepreneur is now worth billions.

These days, he says he tries to do what his mother taught him when he was young-to give to those less fortunate. His Peace, Love & Happiness Foundation invests in charities that provide resources for people experiencing homelessness, protect waterways and animals, and contribute to a sustainable planet.

Winning Entrepreneurs: A Final Word

Are you going through a time in your life when it seems your odds of winning the entrepreneurial game are slim indeed? Then take heart from the stories of these successful entrepreneurs.

For more inspiration, browse our site. Then bookmark our page and come back often.

About the Author

Carrol Strain is a Top Rated copywriter on Upwork. She is also an editor and on-call writer for the Business Opportunities blog.

The post Winning Entrepreneurs Who Now Give Back 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

Topic revision: r1 - 13 Feb 2009 - 03:55:45 - 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