Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2013 at 13:14 UTC
Updated:
29 Jul 2014 at 22:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #0.0
batigolixformatting
Comment #1
mrP commented- The text of aggregator_help is accurate for Drupal 8.
- All embedded links are working.
- http://drupal.org/documentation/modules/aggregator and http://drupal.org/node/774856 updated.
Comment #2
jhodgdonThanks! I guess we can close this issue then.
Comment #3
batigolixThe help text links to a page that seems to be dead:
The url('aggregator/opml') part results in a broken link.
Comment #4
batigolixchanging component
Comment #5
batigolixCorrection: the url "aggregator/opml" isnt actually a broken link. Drupal is supposed to show an opml file there, but the file is not generated correctly. It seems to generate the OPML but HTML is appended to it.
Comment #6
batigolixChanging the component to see if this a bug, a broken reference in the help text or just a brain flaw
To reproduce:
- enable aggregator
- on /admin/config/services/aggregator add a feed (e.g. http://drupal.org/rss.xml)
- on /admin/help/aggregator click "machine-readable OPML file"
Comment #7
jhodgdonLet's file that as a separate issue and go back to dealing with the help file here.
Comment #8
ifrikLinks need to be formated following:
https://drupal.org/node/632280#url-note
Comment #9
lostkangaroo commentedThe problems from #3 are the result of a missing route which is solved in #2039277: Convert aggregator/opml to the new controller style..
As such to not break Drupal that link has been untouched but all others are updated as well as a depreciated markup tag.
Comment #10
lostkangaroo commentedawaiting the results of #2039277: Convert aggregator/opml to the new controller style. to finish help text link update
Comment #10.0
lostkangaroo commentedadded task
Comment #11
ParisLiakos commentedthis is a route now
Comment #13
jhodgdon9: drupal8.aggregator-module.1977608-9.patch queued for re-testing.
Comment #14
lostkangaroo commentedNoticed a few things looking back over the patch.
Comment #15
jhodgdonI chatted with lostkangaroo today in IRC. Here are some things that need fixing in this patch:
a) Link to online help doesn't follow our standards (as to what is in the link text) - https://drupal.org/node/632280
b) A few of the links need title attributes for accessibility (if the link text is not descriptive of where the link goes, it needs a title). Example:
<a href="!aggregator-sources">their source</a>. Please check and see if there are others.c) Still a few links need to be converted to https://drupal.org/node/632280#url-note -- should all use Drupal::url().
d) As discussed today in IRC, in the OPML section, we'd like to:
- Describe what OPML is
- Tell where to go to import OPML
- Tell where to go to download OPML (which is on the aggregator/sources page -- it's the feed icon on that page).
- We probably do not need a link in the help to the OPML download itself.
e) In the cron section, link to the system cron settings page in the site instead of to drupal.org.
f) Any links to drupal.org need to be https:
Thanks!
Comment #16
lostkangaroo commentedThere actually does not seem to be a reliable method of obtaining human friendly opml information other than the link mentioned in #15. That appears to head to the actual opml machine output when used in conjunction with the latest patch from #2039277: Convert aggregator/opml to the new controller style.. It almost seems as if a new config page would be needed to list the urls/files available for opml as these are all that are required to import or export this data. With this in mind I did not include information on where or how to obtain it in this patch.
Comment #17
lostkangaroo commentedComment #18
jhodgdonThanks! Better! A few items to address:
a) Regarding OPML output, I thought I saw something on the sources page that links to the OPML output? Let's see, yes:
This in AggregatorController.php.
Other comments on the patch:
b) The change removing the - in "RSS-, RDF-, and Atom-based feeds" -- those actually are correct, can you put them back?
c) Thanks for adding link titles! However I don't think "link to original content of the feed" is correct for the aggregator/sources page. It seems, instead, to be a list of the feed sources? Also it is not necessary (or even a good idea) to put "link to" in a link title.
d) We need to make sure that when the help file refers to specific pages or specific things to click/see on pages, the text in the help file matches what a user would see in the UI. Most of this looks right, but could you check on the Blocks information? I think there is not a block called 'latest category'? (that's in the admin/config/services/aggregator section).
Comment #19
jibran16: drupal8.aggregator-module.1977608-16.patch queued for re-testing.
Comment #20
batigolixRe-rolled patch
Comment #21
jhodgdonI don't think the change in the
case 'admin/config/services/aggregator/add/opml':section is correct? Well, I don't know, but why change from an acronym tag to abbr tag?It also doesn't look like the comments in #18 have been addressed.
Comment #22
batigolixNo, the comments in #18 have not been addressed. I only re-rolled the patch because I had the intention to work on it.
Comment #23
batigolixNew patch.
Regarding #18:
a) Link to opml feed restored (it works! -- see #6)
b) Hyphens restored
c) Title attribute removed
d) I restored the original text under
case "admin/config/services/aggregator" case 'admin/config/services/aggregator/add/feed' case 'admin/config/services/aggregator/add/opml'and changed the tokens and url(). I changed the reference to the block. The block is called Aggregator feed in the UI. Not sure if the wording is clear, thoughRegarding #21:
- I restored the original text under case 'admin/config/services/aggregator/add/opml'
Comment #24
lostkangaroo commentedWe should take into account that categories have been removed entirely from Aggregator with #2127725: Remove category handling from aggregator. This really changes things.
Comment #25
batigolixIll check what consequences this has for the help text ...
Comment #26
batigolixThere is a status for that
Comment #27
batigolixRemoved the references to categories.
Comment #28
jhodgdonThanks! I think that the main module help is now in pretty good shape.
There are still a couple of issues with the help on admin/config/services/aggregator:
a) Possibly the URLs that describe Atom and the other feed formats should be put directly into the translatable text, because they are pointing to English-language pages. A translator might want to substitute a page in a language their users could actually read? At least with Wikipedia links they could maybe find a translation, but these pages, I'm not sure.
b) On the second line of that section:
This call to url() needs to be converted.
Comment #29
jhodgdonComment #30
lostkangaroo commentedI still don't feel like the link to the OPML generated page is more detrimental than helpful but at this point all other solutions might be lost with the removal of categories and the simplification of the admin page. Either way at this point I give up the argument for its removal.
Comment #31
internetdevels commentedFixed issues from comment #28.
Comment #32
jhodgdonRE #30 - We aim to document what the module does... why do you think the link to the OPML page should be omitted? It seems like useful information about something that the module does?
Anyway... aside from that point, I think this is looking good and it's probably time for a manual test. On both the module Help page and the admin pages for the module:
- Verify that all the links work
- Verify that all mentions of pages/text within the UI match what is seen in the UI
- Verify that the formatting is OK.
Comment #33
lostkangaroo commentedMy main issue with the direct link to the OPML page is that I believe that the OPML generated content should be accessible through the main admin page for this module through an export action. In the help we should be providing information on how to export or access exported OPML content rather than directly linking to it. This is because of the machine generated output causing confusion in many ways as most if not all other modules link to admin pages to do this type of operation.
The problem before was there was no easy way to accomplish this due to the category system creating multiple OPML outputs, and the only way to find it was to find an icon at the end of sometimes huge lists. Creating the instructions to find it would prove difficult as the icon might not be in the same place or even the same icon due to theming. Since the categories are removed now and any hope to reimplement them moved to contrib it should be safe to move the link to an export action next to the import button already existing.
Either way the manual test is complete with all existing elements tested, my concerns with the existing patch are noted below.
Comment #34
jhodgdonThe acronym vs. abbr tag -- you are correct, sorry I said the wrong thing earlier:
http://www.w3.org/TR/html5/text-level-semantics.html#the-abbr-element
Sure on the OPML import link.
And if the module changes so that OPML exports are different from how they are now, hopefully the help will be updated... but meanwhile, it still seems like a good idea to talk about it in the help? If you can think of a better thing to say, let's say it?
Comment #35
lostkangaroo commentedChanged existing OPML acronym tag to abbr and added one more to the main help page.
Changes OPML import link to the import OPML page
I have tested the new link locally with no problems and the new abbr tag appears as it should. I am thinking this should be good to go.
Comment #36
jhodgdonOK, works for me. Thanks!
Comment #37
alexpottCommitted 5905ad6 and pushed to 8.x. Thanks!