From b85eb11e113396490720572d11d30cd83c772ba1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 23 Jan 2004 18:42:43 +0000 Subject: Patch 5287 by Stefan: multiline help texts should become inside a single $output. --- modules/aggregator/aggregator.module | 98 ++++++++++++++++++------------------ 1 file changed, 49 insertions(+), 49 deletions(-) (limited to 'modules/aggregator/aggregator.module') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 818f9816d..4c66501a3 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -4,55 +4,55 @@ function aggregator_help($section) { switch ($section) { case 'admin/help#aggregator': - $output = "

Thousands of web sites, especially news sites and weblogs, syndicate their most recent site content for others to display. The syndicated content always includes titles, also known as headlines, for the newest published stories. Each headline acts as a direct link to the stories on the remote site. Along with the headline, most sites typically provide either the first few paragraphs of the story or a short summary. Many individuals use client-based news aggregators on their personal computer to aggregate content, such as Amphetadesk.

"; - $output .= "

Drupal also has a news aggregator built in as a standard feature. With it, you can subscribe to feeds from other sites and display their content for your site users. Simply enable the aggregator module in site administration and enter the feeds that you choose.

"; - $output .= "

What do I need to subscribe to a feed?

"; - $output .= "

The standard method of syndication is using the XML-based Rich Site Summary (RSS). To syndicate a site's content, obtain the full URL of the RSS page providing syndication. Common file tags for RSS pages are .rss, .xml and .rdf. Example: Slashdot RSS.

"; - $output .= "

Most weblog sites that offer syndication will have an obvious link on the main page. Often you need only look for an XML syndication button, such as the one Drupal uses for site syndication.

"; - $output .= "

But some sites do not make their RSS feeds as easy to find. Or maybe you want to find a number of feeds on a given topic, without extensively searching the web. In that case, try an RSS syndication directory such as Syndic8.

"; - $output .= "

To learn much more about RSS, read Mark Pilgrim's What is RSS and WebReference.com's The Evolution of RSS.

"; - $output .= "

NOTE: Enable your site's XML syndication button by turning on the Syndicate block in block management.

"; - $output .= "

Configuring news feeds

"; - $output .= "

To subscribe to an RSS feed on another site, use the RSS/RDF shortcut at the top of the news aggregation page. The link leads directly to the news aggregation configuration section of Drupal site administration.

"; - $output .= "

Once there, select new feed from the left hand menu. Drupal will then ask for the following:

"; - $output .= ""; - $output .= "

Once you submit your new feed, check to see if it is working properly. Select update items on the RSS/RDF page. If you do not see any items listed for that feed, edit the feed and make sure that the URL was entered correctly.

"; - $output .= "

Adding bundles

"; - $output .= "

You may want to follow some feeds more closely than others. Or perhaps you'd like to display a select list of the titles for some feeds as a block for users. Bundles are a way of grouping your feeds into categories. Bundles look for feeds that contain at least one of the keywords, or attributes, associated with the bundle and display those feeds together.

"; - $output .= "

When adding a bundle, Drupal will ask for:

"; - $output .= ""; - $output .= "

Using the news aggregator

"; - $output .= "

The news aggregator has a number of ways that it displays your subscribed content:

"; - $output .= ""; - $output .= "

RSS feed blocks

"; - $output .= "

In addition to providing subscribed content through the news aggregator, Drupal automatically creates a block for each subscribed feed and every bundle created. Beside each headline in each block, Drupal includes an icon which acts a blog it link. Enable any or all of the blocks using block management.

"; - $output .= "

Subscription list

"; - $output .= "

Drupal automatically generates an OPML feed file that is available by selecting the XML icon on the News Sources page.

"; - $output .= "

Technical details

"; - $output .= "

When fetching feeds Drupal supports conditional GETs, this reduces the bandwidth usage for feeds that have not been updated since the last check.

"; - $output .= "

If a feed is permanently moved to a new location Drupal will automatically update the feed URL to the new address.

"; - return t($output, array("%amphetadesk" => "AmphetaDesk", "%rss" => "Rich Site Summary", "%slashdot-rss" => "http://slashdot.org/slashdot.rdf", "%syndic8" => "Syndic8", "%rss-what" => "What is RSS", "%rss-evolution" => "The Evolution of RSS", "%admin-news" => l(t("RSS/RDF"), "admin/syndication/news"), "%new-feed" => l(t("new feed"), "admin/syndication/news/add/feed"), "%update-items" => l(t("update items"), "admin/syndication/news"))); + $output = t(" +

Thousands of web sites, especially news sites and weblogs, syndicate their most recent site content for others to display. The syndicated content always includes titles, also known as headlines, for the newest published stories. Each headline acts as a direct link to the stories on the remote site. Along with the headline, most sites typically provide either the first few paragraphs of the story or a short summary. Many individuals use client-based news aggregators on their personal computer to aggregate content, such as Amphetadesk.

+

Drupal also has a news aggregator built in as a standard feature. With it, you can subscribe to feeds from other sites and display their content for your site users. Simply enable the aggregator module in site administration and enter the feeds that you choose.

+

What do I need to subscribe to a feed?

+

The standard method of syndication is using the XML-based Rich Site Summary (RSS). To syndicate a site's content, obtain the full URL of the RSS page providing syndication. Common file tags for RSS pages are .rss, .xml and .rdf. Example: Slashdot RSS.

+

Most weblog sites that offer syndication will have an obvious link on the main page. Often you need only look for an XML syndication button, such as the one Drupal uses for site syndication.

+

But some sites do not make their RSS feeds as easy to find. Or maybe you want to find a number of feeds on a given topic, without extensively searching the web. In that case, try an RSS syndication directory such as Syndic8.

+

To learn much more about RSS, read Mark Pilgrim's What is RSS and WebReference.com's The Evolution of RSS.

+

NOTE: Enable your site's XML syndication button by turning on the Syndicate block in block management.

+

Configuring news feeds

+

To subscribe to an RSS feed on another site, use the RSS/RDF shortcut at the top of the news aggregation page. The link leads directly to the news aggregation configuration section of Drupal site administration.

+

Once there, select new feed from the left hand menu. Drupal will then ask for the following:

+ +

Once you submit your new feed, check to see if it is working properly. Select update items on the RSS/RDF page. If you do not see any items listed for that feed, edit the feed and make sure that the URL was entered correctly.

+

Adding bundles

+

You may want to follow some feeds more closely than others. Or perhaps you'd like to display a select list of the titles for some feeds as a block for users. Bundles are a way of grouping your feeds into categories. Bundles look for feeds that contain at least one of the keywords, or attributes, associated with the bundle and display those feeds together.

+

When adding a bundle, Drupal will ask for:

+ +

Using the news aggregator

+

The news aggregator has a number of ways that it displays your subscribed content:

+ +

RSS feed blocks

+

In addition to providing subscribed content through the news aggregator, Drupal automatically creates a block for each subscribed feed and every bundle created. Beside each headline in each block, Drupal includes an icon which acts a blog it link. Enable any or all of the blocks using block management.

+

Subscription list

+

Drupal automatically generates an OPML feed file that is available by selecting the XML icon on the News Sources page.

+

Technical details

+

When fetching feeds Drupal supports conditional GETs, this reduces the bandwidth usage for feeds that have not been updated since the last check.

+

If a feed is permanently moved to a new location Drupal will automatically update the feed URL to the new address.

", array("%amphetadesk" => "AmphetaDesk", "%rss" => "Rich Site Summary", "%slashdot-rss" => "http://slashdot.org/slashdot.rdf", "%syndic8" => "Syndic8", "%rss-what" => "What is RSS", "%rss-evolution" => "The Evolution of RSS", "%admin-news" => l(t("RSS/RDF"), "admin/syndication/news"), "%new-feed" => l(t("new feed"), "admin/syndication/news/add/feed"), "%update-items" => l(t("update items"), "admin/syndication/news"))); case 'admin/system/modules#description': return t("Used to aggregate syndicated content (RSS and RDF)."); case 'admin/system/modules/aggregator': -- cgit v1.2.3