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 and ATOM feeds.

Syntax Rules

%HEADLINES{"..."}%

Parameter Explanation Default
"..." Source of RSS or ATOM 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. May 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. May 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
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

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. Note that some of the variables are already used above. This is done by purpose to use different feeds with the same formatting parameters. If there's a conflict the non-dc tags have higher precedence, i.e. a <title> content </title> is preferred 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 referring 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, 06 Dec 2019 14:46:33 -0600
The original blog about business opportunities and business ideas for small business entrepreneurs
Fri, 06 Dec 2019 14:46:31 +0000 Carrol Strain
Image by Tammy Duggan-Herd from Pixabay

Online marketing has revolutionized the way businesses approach client acquisition. Before online methods, businesses had to rely on strategies such as word-of-mouth marketing and street advertising to attract client attention.

While similar methods are still effectively used today, they simply don’t compare to the effectiveness and efficiency of online marketing strategies.

For example, if you were to use a local street advertisement for a business, it would require physical effort as well as dedicated time to implement. On the other hand, a strategy such as paid online advertising can be left on autopilot. This leaves you time to work on other areas of your business. Financially, traditional marketing can’t compare to online methods, either.

Online Marketing Is Inexpensive and Effective

To give some perspective as to how cost-effective online marketing methods are, most businesses are leaving money on the table by using other methods instead.

For example, what other strategies allow a business to start a marketing campaign with a budget of only $5 a day, as online methods can do?

Furthermore, online marketing contributes to enhanced client retention rates. In a nutshell, client retention is the long-term acquisition of clients that allows a business to sustain a steady flow of revenue.

However, if all you’re interested in right now is gaining new clients, rest assured that Vujà Dé Digital can help your business.

For instance, they will employ such strategies as pay-per-click advertising and search engine optimization. With these things in mind, let’s go over seven more ways online marketing can expose your business to new clients.

#1: Online Marketing Highlights Your USP

A unique selling proposition (USP) is the main source of revenue for a business. Your USP can come through a product, service, or anything else your business does that helps you stand out from the crowd. In short, your USP is radically important in attracting and keeping clients.

With online marketing, businesses have the advantage of highlighting their unique selling point through their ad copy or blog posts.

The more naturally you can point out your USP to new prospects, the greater your chances of converting them into customers.

#2: Online Referrals Circulate Quickly

Online referrals are the digital marketing version of the traditional marketing method of word-of-mouth marketing. That is, they work the same way. They bring awareness about your business from past and current clients.

The chief difference is that online referrals have the potential to spread like wildfire through multiple sources. For example, a well-made video about your business’s USP could go viral on social media platforms.

#3: Conversational Blogging Will Bring More Clients Your Way

Blogging is one of the main components of the online marketing method called search engine optimization (SEO). Blogging can be used to inform or entertain potential clients for any cause.

Additionally, you can also use it to demonstrate transparency with prospective clients. Do this by blogging about the behind-the-scenes aspects of your business in a conversational tone.

RELATED ARTICLE: HOW TO BOOST ENGAGEMENT ON YOUR WEBSITE

#4: Remarketing Campaigns Reclaim Long-Lost Clients

Remarketing campaigns target leads that have visited your sales or marketing funnels but then left without purchasing. These clients are then classified as new prospects since they haven’t been converted.

With remarketing, you target them once more through tracking ads and other similar methods. However, this method of online marketing can get quite technical. Therefore, it’s best to leave it to a professional agency such as Vujà Dé Digital.

#5: Online Marketing Boosts Brand Recognition

Your business’s brand is everything when it comes to client acquisition. More than anything, your brand allows your business to provide ways for prospective clients to connect with your business.

Branding activities can include creating a compelling brand image, revealing your company's lofty principles online, or prominently featuring your company slogan on your site.

#6: Positive Reviews Showcase Your Business

One of the most overlooked benefits of online marketing is that it allows your business to highlight positive reviews. What’s more, you have multiple avenues for doing so, including your business website, your blog, or local search engine reviews.

Positive business reviews constitute a powerful tool for attracting potential clients, leading them to choose your business over your competitor’s.

#7: Qualified Ad Copy Targets Key Audience Segments

Ad copy is perhaps the most effective way to bring in new clients. The reason this is so is that ad copy can be structured to qualify clients.

For example, if you want to bring in new clients to your business, your online ad copy can include promotions specifically for new clients.

Conclusion

If you want your marketing budget to cost less and bring in more new business, online marketing is the way for you to go.

The post Online Marketing Will Attract New Clients to Your Business appeared first on Business Opportunities.

Fri, 06 Dec 2019 00:51:22 +0000 Carrol Strain
Image by WorldSpectrum from Pixabay 

With so many different coins in the overall market, it can be difficult for traders looking to buy cryptocurrency to know which ones are worth spending their attention and capital on. Luckily for them, institutions such as Weiss Crypto Ratings, a part of the greater Weiss Investment Ratings organization, can help traders cut through the noise.

Praised for its objectivity and accuracy by various elements of the United States government, including multiple members of Congress and the US Government Accountability Office (GAO), Weiss bases its grading on complex algorithms dealing with enormous volumes of data.

According to Weiss Crypto Ratings (WCR), this helps keep their ratings as fair as possible. There are few organizations which can compete with WCR in its niche, and any trader would do well to take the information they compile into serious consideration.

RELATED ARTICLE: HOW GOES THE MARKET? IT’S RUNNING IN CIRCLES!

Weiss Rating System

Weiss Crypto Ratings makes use of four proprietary models, which focus on the various elements that come into play when rating a cryptocurrency. These models consist of the:

  1. Risk Model
  2. Reward Model
  3. Technology Model
  4. Adoption Model

Weiss then condenses these factors into the currency’s overall grade. The grades range from A+ to F, with A+ being excellent, C being fair, and F being terrible.

10: Stellar

Stellar is much more focused on its ability to move and convert other currencies, rather than cultivating the market viability of its native coin. Still, Stellar still manages to retain a C rating overall, clinging to the number 10 slot on Weiss's ratings board. Its risk-reward grade isn't anything to write home about either, only getting an E+ rating. It does, however, boast fees of less than a cent and three-second transaction times.

However, it has a poor outlook overall because, unlike other more successful blockchain currencies, Stellar doesn't have a finite supply of its coin. This is often one of the points in favor of cryptocurrencies. Despite all of this, Stellar still retains a market cap of $1.29 billion, higher than four of the other coins on this list.

9: Ethereum Classic

Not unlike cryptocurrencies such as Bitcoin SV, Ethereum Classic seeks to preserve what they view as the original vision of the blockchain they derive their name from. Ethereum Classic broke off from the main Ethereum Foundation following the latter's reaction to the DAO attack.

The blockchain currency extols its ability to provide a secure, censor-proof, decentralized platform for running applications. However, it carries a D- rating in the risk-reward category, only marginally higher than Stellar. The currency receives an overall C rating from Weiss, with a market cap of only $524.49 million.

8: NEO

Unusual among its peers, NEO is a cryptocurrency that was designed to be regulator-friendly. This has allowed the currency to thrive in markets where most other blockchain currencies have been banned. This includes a strong presence in the People's Republic of China.

Its stated goal is the creation of a smart economy system, to be created through the use of smart contracts, though smart contracts are not exclusive to NEO. Weiss gives the Chinese-originating cryptocurrency a C rating overall, with very weak grading in the risk-reward category. This cryptocurrency has a relatively low market cap of $526.23 million at the time of this writing.

7: Monero

Unlike many cryptocurrencies, Monero focuses on privacy. In fact, transactions through the service are completely untraceable. This has of course made Monero the ideal platform for less-than-savory individuals and organizations, such as The Pirate Bay, which can then generate Monero's native coins through unconsenting machines.

Despite this, Monero is a great option for traders who value their privacy, and who want to ensure that their investments aren't going to be blacklisted because of their coin's involvement in certain businesses. According to the Weiss Crypto Ratings, Monero maintains an overall grade of C and a market cap of $1.01 billion.

6: Binance

Often thought of as more prominent as a cryptocurrency exchange than as a native coin, Binance nonetheless retains a spot as the sixth highest rated native coin listed by Weiss.

Through Binance, traders can exchange hundreds of different cryptocurrencies quickly, and trading can be done via a number of platforms, including on mobile devices. Binance received an overall C rating and maintains a $310.87 million market cap, currently the lowest market cap in the top ten rated coins.

5: Iota

Based on a new blockchain project known as the Tangle, Iota is set apart from other cryptocurrencies by its complete lack of transaction fees as well as the fact that it allows nano-payments without the need for trusted third parties.

Weiss gives Iota a C+ rating overall, with a D in the risk-reward category and a whopping A- in the technology-adoption category, owing to its innovative take on blockchain technology. Its actual market cap is relatively modest, clocking in at $749.65 million. This is a platform and coin with a lot of potential, but most of it hasn't yet been realized.

4: LiteCoin

With instantaneous and nearly feeless transactions, LiteCoin certainly has a few things going for it from the get go. It’s also still open source. Besides these minor differences, LiteCoin is a fairly run-of-the-mill blockchain-based currency. It is set apart by its performance, however, with a market cap of $3.47 billion and an overall rating of C+.

3: EOS

Having recently launched into its EOSIO 2 project, EOS is a promising coin. It focuses on a user-friendly outlook and on being turing complete.

Weiss rates it at the fairly low D- in the risk-reward category, though the coin's overall rating remains at a respectable C+. Currently, EOS has the fourth highest market cap of the list, coming up to $2.74 billion.

2: Ethereum

The second most recognizable cryptocurrency, sporting an eye-catching name and tying with Bitcoin itself in overall rating, achieves a B- from Weiss. Ethereum is a good choice for investors who have a lower risk tolerance.

Ethereum sets itself apart from the behemoth Bitcoin in its reduced fees and transaction times, as well as its focus on its role as an open-source development platform for decentralized apps.

In fact, Ethereum was the first blockchain-based development platform, significantly contributing to the surging popularity of blockchain technology. Moreover, it is still very successful in the field. This cryptocurrency also boasts the second highest current market cap, at $18.86 billion.

1: Bitcoin

Traders and others often consider the cryptocurrency that created the market itself to be a store of value. What's more, it is so widely trusted and adopted that Weiss gives it an A rating in technology-adoption. It was inevitable that Bitcoin would top this list.

Though only achieving a D ranking in Weiss's risk-reward category, it carries an overall rating of B-. Currencies such as Ethereum are certainly increasing their market caps. However, Bitcoin still dwarfs all others in the field with a market cap of $147.82 billion.

Weiss Crypto Ratings Can Facilitate Your Decision-Making

No cryptocurrency is ever a truly safe investment. The market is much too new and volatile for that to be the case. However, as is reflected in these ratings from Weiss, Bitcoin is as close as you can get to a safe coin.

Any of the cryptocurrencies, however, could make for a good investment. Moreover, a trader's choice of coin is largely going to relate to which focus they prefer their investments to go toward.

The post Weiss Rates Top Ten Cryptocurrencies appeared first on Business Opportunities.

Plugin Settings

Plugin settings are stored as preferences settings. Do not change the settings here, they are here only for illustration purposes showing the default values. Define the settings in Main.TWikiPreferences. For example, to customize the HEADLINESPLUGIN_USERAGENTNAME setting, add a * Set HEADLINESPLUGIN_USERAGENTNAME = ... bullet in Main.TWikiPreferences.

  • Refresh rate in minutes for cached feeds. Set to 0 to disable caching:
    • Set HEADLINESPLUGIN_REFRESH = 60

  • Maximum number of items shown:
    • Set HEADLINESPLUGIN_LIMIT = 100

  • Use LWP::UserAgent if set to 1, or fallback to TWiki's internal getUrl() method if set to 0:
    • Set HEADLINESPLUGIN_USELWPUSERAGENT = 1

  • Timeout fetching a feed using the LWP::UserAgent:
    • Set HEADLINESPLUGIN_USERAGENTTIMEOUT = 20

  • Name of user agent:
    • Set HEADLINESPLUGIN_USERAGENTNAME = TWikiHeadlinesPlugin/2011-07-08

  • Default header: (variables are explained in the syntax rules)
      * Set HEADLINESPLUGIN_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 HEADLINESPLUGIN_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

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the TWiki server.

  • For an automated installation, run the configure script and follow "Find More Extensions" in the in the Extensions section.

  • Or, follow these manual installation steps:
    • Download the ZIP file from the Plugins home (see below).
    • Unzip HeadlinesPlugin.zip in your twiki installation directory. Content:
      File: Description:
      data/TWiki/HeadlinesPlugin.txt Plugin topic
      pub/TWiki/HeadlinesPlugin/style.css Default CSS
      lib/TWiki/Plugins/HeadlinesPlugin.pm Plugin Perl module
      lib/TWiki/HeadlinesPlugin/Core.pm Plugin core
    • Set the ownership of the extracted directories and files to the webserver user.
    • 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 configuration and testing:
    • Run the configure script, enable the plugin in the Plugins section
    • Configure the plugin: See plugin settings above.
    • Test if the installation was successful: See example above.

Plugin Info

  • 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

Plugin Author: TWiki:Main.PeterThoeny, TWiki:Main.MichaelDaum
Copyright: © 2002-2011 Peter Thoeny, Twiki, Inc.
© 2005-2007 Michael Daum http://wikiring.de
License: GPL (GNU General Public License)
Plugin Version: 2011-07-17
Change History:  
2011-07-17: TWikibug:Item6764: Add VarHEADLINES variable documentation; doc improvements; setting NO_PREFS_IN_TOPIC
2011-07-08: TWikibug:Item6725: Change global package variables from "use vars" to "our"
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: VarHEADLINES, TWikiPlugins, AdminDocumentationCategory, TWikiPreferences

Edit | Attach | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | More topic actions...
Topic revision: r5 - 2011-07-17 - 22:41:43 - TWikiContributor
 
  • Edit
  • Attach
Copyright © 1999-2019 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.