Difference: HeadlinesPlugin ( vs. 1)

Revision 12010.05.17 - TWikiContributor

 

Headlines Plugin

<--
   Contributions to this plugin are appreciated. Please update the plugin page at
   http://twiki.org/cgi-bin/view/Plugins/HeadlinesPlugin or provide feedback at
   http://twiki.org/cgi-bin/view/Plugins/HeadlinesPluginDev.
   If you are a TWiki contributor please update the plugin in the SVN repository.
-->
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, 02 Dec 2022 01:59:55 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Fri, 02 Dec 2022 01:29:28 +0000 Carrol Strain

This article provides a description of the steps involved in transferring Tether (USDT) from one cryptocurrency platform to another. If you are interested in trading crypto, the information here could be useful to you.

RELATED ARTICLE: SHOULD YOUR BUSINESS EMBRACE CRYPTOCURRENCIES?

The cryptocurrency market provides users and investors with a large number of different ways to carry out financial transactions. For example, users can instantly purchase a promising project token or pay with digital coins for some services and goods.

Nonetheless, the cryptocurrency market is still largely attached to the fiat system. Despite the fact that every day more and more people want and are ready to use crypto as a full-fledged means of payment, the position of classic money remains strong. Moreover, the versatility of the crypto industry allows investors to transact and still stay in touch with fiat currencies like the US dollar. Stablecoins play a key role in this relationship.

The largest stablecoin in terms of transaction volume is USDT. Investors use it as their main asset. This is because they can convert it into any necessary cryptocurrency in a matter of minutes. Additionally, this coin allows you to wait out storms in the crypto market.

So let's suppose you already have USDT. If you want to understand how to obtain it correctly, be sure to read the tutorial ''How and where to buy Tether.''

In today’s article we share with you how quickly you can move a Tether stablecoin between different wallets on different centralized platforms for digital coin transactions.

How Long Does USDT Take to Transfer?

Transferring USDT from one platform to another takes from 5 to 30 minutes. However, it is important to understand that everything depends on the current state of the cryptocurrency market as well as network congestion. If you make a transfer during a period of low trading activity and a favorable and calm situation in the digital asset market, then the whole process will take no more than 10 minutes.

However, if the market is in active movement due to a certain news background or a large-scale bull or bear market, then there is a chance that your transaction will take longer. This is because investors are actively using USDT and other stablecoins to buy or sell digital assets. In this case, the USDT transfer transaction will take from 10 to 30 minutes, depending on the current network load.

It is important to note that when you’re transferring USDT from platforms such as Binance, you can get additional information about the current network load. Usually, the Binance mobile app notifies users of high trading activity. Also, the application calculates the maximum time for the transaction, taking into account the existing practice. But from the author's personal experience, we can say that the real time for transferring USDT from Binance to Coinbase will take no more than 15 minutes. Of course, you can surely use other crypto exchanges.

A graphic depiction of two crypto currency wallets 300w" sizes="(max-width: 584px) 100vw, 584px" />
Image from Infinite Blockchain Labs

It is important to understand that most platforms require verification to make transfers. This usually includes an SMS notification to a mobile device, as well as a message code to email. This is a classic procedure for transferring funds outside of a centralized platform. This process takes the user from one or two minutes, depending on the speed of entering the passcodes.

How Can I Transfer USDT from Binance to Coinbase?

Now let’s look at a few simple examples of transferring USDT from Binance to the Coinbase platform. It should be no secret that you need Binance and Coinbase accounts to send USDT.

First you need to get a link to the address of the Coinbase platform. To do this, you need to log into your account on the platform. Then find and click on the USDT icon and click “Get.”

The address you copy will appear in front of you. This will also create a network that you need to use in the future. Usually it is TRC20.

You then go to the Binance platform and click on the USDT icon. Next, you have a choice of actions. Here, click “Output.”

In the column that opens, copy the Coinbase wallet address and also set up the correct network.

Next, click “Confirm.” Then go through the identification procedure thanks to the code on your mobile phone and email. After that, your transaction starts to execute. After it completes, you will receive an email confirming the success of the operation.

RELATED ARTICLE: BITCOIN ALTERNATIVES: THE MOST IMPORTANT OTHER CRYPTOCURRENCIES

It is also important to remember that the application may write that the network is overloaded. In that case, your transaction will take longer. However, you still cannot change the network, because the address you copied on Coinbase only works on a specific network. And if you move the network to avoid a delay in delivery, you risk completely losing your USDT deposit.

Summing up, taking into account all the procedures, from obtaining an address and setting up the desired network to identifying an individual and sending USDT, it takes no more than four to six minutes. It takes another five to eight minutes for the direct delivery of your deposit from Binance to the Coinbase platform.

How Does Security Affect Timing?

It is also important to understand that each platform has its own systems and capacities for USDT transfers. Transaction time and other timings for sending funds are one of the main advantages of centralized platforms.

First of all, different timings for the finalization of transactions are associated with legislative restrictions that protect investors. That is, when transferring USDT from Binance to Coinbase, for instance, it will take some time before the blockchain fully processes the transaction. Only then can it can go to the user’s wallet.

a grapic depiction of the letters K, Y, and C, representing "know your customer" 300w" sizes="(max-width: 602px) 100vw, 602px" />
Image from Ledger Insights

This is because after clicking the “Confirm operation” icon, the funds are transferred from the centralized platform to the blockchain.

Since we are looking at how to transfer USDT from Coinbase to Binance and vice versa, we will take the TRC20 network as an example. Before the investor’s wallet receives the funds on Binance, the deposit undergoes a series of tests and checks on the blockchain.

This confirmation chain is necessary for the security of both the deposit and the user’s wallet. Therefore, this can also take some time. However, on top exchanges, this process does not take longer than 30 minutes on each network.

How Can I Do a Fiat Transfer to USDT?

While we were in the cryptocurrency space, everything was very easy and fast. However, let’s assume that the investor initially needs to replenish the USDT balance and only then make the transfer. Let’s suppose this investor lives in the UK and wants to transfer GBP to USD in Binance. Naturally, the investor feels nervous, and rightfully so. That’s because in this case, a third party-the bank that stores the investor’s fiat funds-will be a party to the transaction.

In order to transfer GBP to USD in Binance, our investor needs not only to create an account on Binance, but also to pass a full identity verification. The KYC or Know Your Client procedure takes from one to three days, depending on the quality of the documents the investor provides and other important factors. In the author’s personal experience, it usually takes up to one day to complete the KYC procedure if you do everything promptly.

For an article about USDT, a cartoon depiction of a fiat bank next to a blockchain 300w" sizes="(max-width: 451px) 100vw, 451px" />
Image from Atomic Wallet

After completing this procedure, you need to select “Buy” in the Binance app. Then use your bank card in GBP as a means of payment. But if you have a card that is based on US dollars and you indicate GBP, then your transfer of GBP to USDT will not occur.

Assuming, though, that you have completed each step satisfactorily, all you need to do is wait until your banking institution approves your transaction. If there are no restrictions on your card, and you yourself are a prosperous and law-abiding citizen, then the transaction will likely be carried out on the same day.

Summing up, we can say with confidence that a USDT transfer on any cryptocurrency platform is a safe and very fast process. At the same time, it requires care with the use of addresses and networks of deposit transport. Identity verification and KYC are also required. But in general, transferring USDT to Binance or fiat funds to any platform takes a maximum of one or two days.

RELATED ARTICLE: WANT TO START A CRYPTO BUSINESS? RUN WITH THESE IDEAS

About the Author

Author of an article on USDT, Sviatoslav Pinchuk

Sviatoslav Pinchuk, COO of TradeCrypto, is a crypto journalist who bought some bitcoin in 2014 and then forgot about it till 2017. He got Ethereum in 2017 by way of a misclick and sold it in 2018 ''just to try.'' After losing a Florida house on XEM in 2018, Sviatoslav finally decided to trade reasonably. He is one of the most analytical and data-driven traders in the crypto industry.

RELATED ARTICLE: BUYING CRYPTOCURRENCIES? FOLLOW THESE RULES

The post How Long Does It Take to Transfer Tether (USDT)? appeared first on Business Opportunities.

Thu, 01 Dec 2022 19:56:26 +0000 Carrol Strain
Featured image by Medienstürmer via Unsplash

As a business leader, one of the more rewarding things you can take on is being a mentor to a student or young professional who aspires to success in the business world. This is a great opportunity to pay it forward and to have an influence in shaping the leaders of tomorrow.

If you had a mentor yourself, you may think back and remember things they did that you appreciated. You might perhaps recall other approaches they took that were less successful. Even if you didn’t have someone who formally assumed this position, you almost certainly got help from others along the way.

However, in addition to thinking about what did and didn’t work for you in the past, it can be helpful to consider how you will approach being a mentor in a more organized fashion.

Being a Mentor Includes Small and Large Gestures

Being a business mentor is mostly about helping and encouraging someone by sharing your own experience with them. You don’t have to make grand gestures in order to help someone or even change their life. However, there are situations in which you might want to take that extra step.

For example, you might choose to help a student obtain a loan to pay for their education or assisting with a refinance. However, be sure to put a few elements in place before you do this.

First, of course, the student should be someone who is genuinely in need of this kind of help. In most cases, helping a student obtain funding for their education is a role that’s more appropriate for a family member. However, some families may not be in a position to assist financially.

Next, the student needs to fully understand the gravity of what you are doing. They also need to accept their responsibility in paying back the loan. You need to understand this as well, including whether this will affect your credit score.

Finally, you need to be prepared to repay the loan yourself if necessary.

Of course, this is not the ideal outcome for you as a business mentor. But as a cosigner, you can never guarantee that the person you’re signing for will be able to keep up their obligations.

Regardless, cosigning on a student loan can make a real difference for a student. In some cases this will allow them to obtain the loan in the first place. This can also keep their interest rate lower.

Another option is a student loan refinance with cosigner. If the person already has a student loan but the repayment terms could be better, you could help them get those improved terms.

Learn to Be a Good Listener

One of the most important things you’ll do as a business mentor is listen to your mentee. You need to be able to listen critically so that you can offer advice. Nonetheless, you must give that advice without judgment.

One of the most important reasons for this listening is that you need to understand your mentee. Find out where they are coming from, what their goals are, and what challenges they are facing. You also need to understand what they are looking for in a mentoring relationship. Along with active listening, you need to cultivate empathy for their situation even if it’s quite different from your own.

RELATED ARTICLE: 3 REASONS FOR NEW ENTREPRENEURS TO CONSIDER HAVING A MENTOR

It can be tempting as a business mentor to charge in with advice from the very beginning. But while offering constructive criticism is important, before you can really do that, you need to get a good sense of who your mentee is and what they’re after.

In addition, constructive criticism isn’t always the right response. Careful listening will help you identify when it is. At other times, asking questions to either better understand where the other person is coming from or to help formulate a plan to get past an obstacle is the best approach.

RELATED ARTICLE: 3 STARTUP TIPS YOU WON’T FIND ANYWHERE ELSE

Being a Business Mentor Sometimes Means Giving Constructive Criticism

One of the difficult aspects of being a business mentor is finding a middle ground between trying to steer your mentee’s development in a certain direction and sitting back while they make a big mistake, or at least what looks like one to you. You need to put some distance between yourself and your ideas about their outcome. But that doesn’t mean constructive criticism is verboten. Instead, think of a way to present your thoughts in a diplomatic fashion.

One excellent way to approach this is by simply talking about a similar experience that you had and what you did. This allows you to offer an option without coming across as telling the other person what to do. Keep in mind that your primary role is to help the other person. They aren’t going to get things right sometimes, and that’s okay. You need to be supportive in either circumstance and offer resources that can help them in any decision that they make.

RELATED ARTICLE: HOW ANYBODY CAN BE AN ENTREPRENEUR - EVEN YOU

The post Tips for Being a Business Mentor to Young People 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:
<-- specify latest version first -->
 
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

 
This site is powered by the TWiki collaboration platformCopyright © 1999-2022 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.