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:

Thu, 09 May 2024 23:42:32 +0000
The original blog about business opportunities and business ideas for small business entrepreneurs
Thu, 09 May 2024 23:42:31 +0000 Carrol Strain

Picture this: You’re standing before a massive wind turbine, its blades slicing through the air like a hot knife through butter. Have you ever wondered how engineers make these beauties so darn efficient? Enter computational fluid dynamics, or CFD, the secret sauce behind modern turbine design.

Knowing about CFD is like having a superpower that lets you peek inside the invisible world of fluid dynamics. It’s a nifty computer-based simulation tool that helps engineers analyze how fluids (like air or water) interact with solid objects (like turbine blades). By crunching numbers and solving complex equations, CFD gives us a crystal-clear picture of what’s happening inside a turbine.

While CFD gives us the roadmap to understanding fluid dynamics, fine-tuning a turbine to perfection requires another level of expertise. This is where Turbine Controls by CCCGlobal.com come into play. Think of turbine controls as an orchestra conductor, harmoniously guiding each turbine component to work in sync.

Why CFD Matters: Tackling Turbine Design Challenges

Designing a top-notch turbine is no walk in the park. Engineers face a laundry list of challenges, from optimizing blade geometry to minimizing noise and vibration. It’s like trying to solve a Rubik’s cube blindfolded. It’s not impossible, but definitely not easy.

That’s where CFD swoops in to save the day. By simulating various design scenarios and predicting performance, CFD helps engineers identify potential issues early on and fine-tune their designs for maximum efficiency. It’s like having a trusty sidekick that’s always got your back.

Traditional CFD Methods: Old-School Cool

Now, I know what you’re thinking: “CFD sounds awesome, but how does it actually work on a turbine?” Well, buckle up because we’re about to take a trip down memory lane.

Traditionally, CFD relied on tried-and-true methods like the Finite Volume Method (FVM) and the Finite Element Method (FEM). These techniques involve breaking down the fluid domain into tiny little pieces (called “cells” or “elements”) and solving the governing equations for each one. It’s like putting together a giant jigsaw puzzle but with math.

While these old-school methods have served us well, they can be a bit like using a flip phone in the age of smartphones-functional but not exactly cutting-edge.

The Evolution of CFD: From Clunky to Cutting-Edge

Transitioning from traditional CFD methods to more advanced techniques has been like evolving from flip phones to smartphones. One such leap forward is the advent of Large Eddy Simulation (LES) and Direct Numerical Simulation (DNS). These methods offer a more detailed and accurate picture of fluid dynamics by precisely capturing the turbulent flows. While LES filters out the smallest eddies and directly computes larger ones, DNS takes it a notch higher by solving the Navier-Stokes equations for all scales of motion. This approach, akin to shooting a movie in ultra-high-definition, reveals the intricate details of fluid behavior but requires significantly more computational power.

Another groundbreaking advancement with regard to turbine design is integrating machine learning and artificial intelligence (AI) into CFD. By harnessing the power of AI, CFD simulations can now predict complex fluid dynamics phenomena with greater accuracy and in less time. Machine learning algorithms learn from vast datasets of previous simulations, identifying patterns and insights that would be impossible for humans to detect. This isn’t just a step up. It’s a giant leap toward predictive modeling, where CFD can anticipate fluid behavior under conditions that haven’t yet been physically tested.

RELATED ARTICLE: DRONE DOCKING TECHNOLOGY: THE FUTURE OF AUTONOMOUS FLIGHT

The movement toward cloud computing and parallel processing has also transformed CFD, making simulations more accessible and scalable. Gone are the days of being limited by local hardware capabilities. Now, engineers can run large-scale simulations in the cloud, leveraging thousands of processors to reduce computation time from weeks to hours. This democratization of CFD means that even smaller engineering firms can tackle complex fluid dynamics problems and innovate without needing expansive IT infrastructures.

In sum, the evolution of CFD from traditional methods to today’s sophisticated, AI-powered, cloud-based systems is more than just a technical upgrade. It’s a paradigm shift in how we understand and harness the forces of nature. This progression empowers engineers to design better, faster, and more efficient turbines. It democratizes access to cutting-edge technology, ensuring that the future of fluid dynamics is as bright and boundless as the fluids it seeks to understand.

Hold onto your hats, folks, because the world of CFD is evolving faster than you can say “computational fluid dynamics.” Researchers and engineers are cooking up all sorts of exciting new approaches to turbine design optimization.

Take, for example, the rise of machine learning and artificial intelligence in CFD. By training algorithms on massive datasets, we can create smart models that can predict turbine performance with mind-boggling accuracy. It’s like having a crystal ball that can see into the future of turbine design.

Another cool trend is the use of high-performance computing (HPC) to tackle even the most complex CFD simulations. With the power of parallel processing and cloud computing, engineers can crunch numbers faster than ever before. It’s like having a team of superpowered math wizards at your fingertips.

RELATED ARTICLE: GOING GREEN IS AN IMPORTANT PILLAR OF BUSINESS SUCCESS

Real-World Success Stories: CFD in Action with Turbine Design

Okay, enough with the theory. Let’s talk about how CFD is making a real difference in the world of turbine design.

Take the case of a major wind turbine manufacturer that used CFD to optimize its blade design. They could identify the sweet spot for maximum power output by simulating various angles of attack and wind speeds. The result? A turbine that generated 5% more energy than its predecessor. That might not sound like much, but every little bit counts in the world of renewable energy.

Or how about the hydroelectric power plant that used CFD to fine-tune their turbine design for improved efficiency? By analyzing the flow patterns and identifying turbulence areas, they made minor tweaks that added up to big savings. It’s like finding spare change in the couch cushions but on a much larger scale.

The Road Ahead: Calling All Innovators

So, what does the future hold for CFD and turbine design optimization? The short answer: a whole lot of exciting possibilities.

As we continue to push the boundaries of renewable energy technology, the role of CFD will only become more critical. We need bright minds like yours-engineers, innovators, and renewable energy enthusiasts-to help us tackle the challenges ahead.

Whether you’re a seasoned CFD pro or just getting started, there’s never been a better time to dive in and make a difference. So, roll up your sleeves, fire up your computer, and let’s get to work on building a cleaner, greener future.

In the words of the great mathematician and physicist Richard Feynman, “What I cannot create, I do not understand.” With CFD as our trusty tool, let’s create a world of better, more efficient turbines-and understand the heck out of fluid dynamics while we’re at it!

RELATED ARTICLE: HOW YOU CAN HELP TO REVERSE CLIMATE CHANGE

The post The Lowdown on CFD and Turbine Design appeared first on BUSINESS OPPORTUNITIES.

Thu, 09 May 2024 17:44:44 +0000 Carrol Strain

We all know how competitive the business world can be. Naturally, you want to ensure you have every advantage possible, right? If you are considering getting your MBA, in other words, a master's degree in business administration, you might be wondering if this path could give you that edge in business to help you succeed.

In this article, we go through all the benefits and advantages you’ll accrue from getting your MBA, plus some additional information that could be useful to you.

RELATED ARTICLE: FOR COLLEGE STUDENTS: BEST BUSINESS IDEAS WITHOUT INVESTMENT

What Is an MBA?

A master's degree in business administration, more commonly known as an MBA degree, is one of the world's most popular and most recognized postgraduate degrees. This degree provides students with a graduate-level business and management degree that focuses on building leadership and managerial skills.

What Can You Specialize in When You Get an MBA?

Getting an MBA is an impressive accomplishment, but it is more than just an advanced degree. There are several specialties within an MBA that you can major in. These include:

  • Finance
  • Marketing
  • Entrepreneurship
  • Operations Management
  • Human Resources
  • Information Technology
  • International Business
  • Healthcare Management
  • Consulting
  • Sustainability

It's important to remember that certain institutes won't offer all of these majors. Therefore, if you're looking to specialize when you do your MBA, you will need to find the institute that offers the major you're after.

RELATED ARTICLE: GETTING RESULTS: WHY ONLINE LEARNING WORKS ACROSS MULTIPLE INDUSTRIES

When Should You Get Your MBA?

Unquestionably, an MBA is a tough degree to earn. Those who are currently studying full time and are able to continue should definitely get their MBA immediately after earning their bachelor’s degree. But for others who need to work to get a jump on their career or simply to pay back student loans, you might want to do your MBA later when you have the finances to do it.

Fortunately, institutes run MBA programs all year round. In fact, some accept applications and enrollments up to three times a year. So when you are ready to tackle your MBA, the opportunity will be there.

What Are the Benefits of Getting Your MBA?

What significance does an MBA qualification hold? Well, many future employers and companies recognize that employees and job applicants who hold an MBA demonstrate a commitment to learning and improving. Additionally, they understand that such individuals have the necessary skills to help a company succeed.

Here are some of the many advantages of getting your MBA:

1. Improved Communication Skills

Communication is one of the most important skills entrepreneurs and other businesspeople must master. While many people refer to this as a ''soft skill,'' it plays a vital part in all aspects of a business. From success with sales to effectively communicating expectations to employees, you will need to be able to communicate well. Getting an MBA will help you develop this skill by providing you with key communication methods as well as giving you a place to practice these skills as you network with other students.

2. Increased Job Opportunities

An MBA is a highly distinguished degree that offers its holder a lot of opportunities in the business industry. Today’s job market is extremely competitive. For this reason, employers and businesses are willing to pay for individuals with top degrees. Moreover, those who specialize and stand out above the rest will have an edge. An MBA can do this for you. Not only will it make you more attractive to potential employers, but it might also even attract headhunters to your door.

3. Expanding Your Professional Network

It's not always about what you know. Sometimes, it’s more about who you know.

To this end, when you study for your MBA, you take part in a global network of over 100,000 alumni. This network provides you with access to thousands of people who are working in business industries similar to the one you end up in. What’s more, taking advantage of this network can lead to some promising business deals, partnerships, and more.

4. Better Time Management

Time is your most valuable asset. This is true regardless of your career.

Moreover, the amount of time you put into a project can often determine the outcome or success of that project. There are other factors to consider, of course, but time plays a huge role in any successful business.

Earning an MBA will equip you with the necessary time management tools to help you make the most of your time every day. In this way, your business will thrive because you're giving it all the time it needs.

5. Greater Awareness of a Global Market

The global market is extremely fast-paced, changing almost daily with new products released and assets bought and sold. Learning to read the market will be a valuable skill for you.

This is because learning the market will allow you to trade and make smart business deals. Likewise, if you've learned how to read the market well, this skill will be sought after by others who might come to you for advice, thereby creating a business opportunity for you.

An MBA will teach you to track market trends and learn the lingo of today's business world.

6. Increased Salary Potential

Once you have earned your MBA, you can be assured that you will get paid what you're worth. Doing an MBA puts you into a higher pay bracket. Moreover, you will have more opportunities to grow in your career. In this way, an MBA allows you to reach an ever higher and higher salary. In short, with an MBA, you will have decent salary potential.

7. Lifelong Friendships and Extensive Alumni Network

As an MBA student, you'll be studying alongside many other ambitious business enthusiasts who want to make their mark on the world. Here, you can make friendships that will last a lifetime. You and your friends will provide each other with business opportunities and partnerships as well as give each other a support network to rely on when business is tough.

Final Thoughts

Take your career to the next level by getting an MBA. From accountancy to consulting, there is much you can do with an MBA degree. What’s more, your salary will definitely rise. Consider the benefits of an MBA, and give yourself a career path that works for you.

RELATED ARTICLE: IS IT SMART TO TAKE OUT A PERSONAL LOAN FOR SCHOOL DEBT?

The post Get Your MBA and Elevate Your Career in Business 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: r1 - 2010-05-17 - TWikiContributor
 
This site is powered by the TWiki collaboration platformCopyright &© 1999-2024 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.