Issue 26259 - Tables of reports should have ID tags
Summary: Tables of reports should have ID tags
Status: CLOSED WONT_FIX
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Bugzilla (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: stx123
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-09 11:26 UTC by Joost Andrae
Modified: 2017-05-20 09:42 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Dynamicly imported bug count and feature statistics (12.28 KB, application/vnd.sun.xml.calc)
2004-03-16 14:05 UTC, Joost Andrae
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joost Andrae 2004-03-09 11:26:18 UTC
If I create a report such as
http://qa.openoffice.org/issues/reports.cgi?state=Open+issues&issue_type=DEFECT&containing=&type=case-insensitive+substring&x=Component&y=Status
and if I want to read the embedded table then I need to know the name of the
table. This name is usually set via the ID tag to identify parts of a html page
Comment 1 stx123 2004-03-16 12:11:08 UTC
Joost, does this mean you would like to read the table containing the report
with a tool? And to achieve this you are asking for an ID tag?
Comment 2 Joost Andrae 2004-03-16 14:05:57 UTC
Created attachment 13846 [details]
Dynamicly imported bug count and feature statistics
Comment 3 Joost Andrae 2004-03-16 14:14:37 UTC
JA: I created a Calc document which gets data from the report functionality
within IssueTracker. This data is imported via '/Insert/External Data' feature
in Calc. This feature can directly select the table within the output of
IssueTracker but as far as the HTML import functionality has improved in OOo
src680 a different part of the html document is selected if you load it in a
src680 version. As a result the data imported into Calc is broken. The only way
to get around this problem is to name the table via an ID tag within the HTML
report generation in IssueTracker. To get an idea how it works just load the
document attached in a srx645 version.
JA->ST: please configure a proxy before you load this document.
Comment 4 stx123 2004-03-17 12:40:28 UTC
reassign to support
Comment 5 Unknown 2004-04-03 03:51:38 UTC
I am not sure what the RFe is about..
is it asking collab to name a ID TAG to the tables
or to correct the HTML functionality of src68 ver ??

Can you please elaborate on your needs ?

thanks

mohan
Comment 6 stx123 2004-04-04 20:45:44 UTC
Yes, it is asking collab to name a ID TAG to the tables.
Comment 7 Unknown 2004-04-05 10:18:50 UTC
Update : I have Filed an internal query for the enhancement
Will update the response of the engineers as & when i receive them

-Mohan
Comment 8 Unknown 2004-04-06 06:47:32 UTC
The engineers have posted the following questions

1. How exactly are you "directly accessing the tables 
within the output of Issuetracker"? 

2. What method are you following  to get an HTML file with a table of IZ query 
results ?
Are you saving the entire page using the browser "save as"?
If thats the process then they recommend that you either use one of 
the handy buttons at the bottom of the page to export the table to a comma or 
tab delimitted file, or highlight just the table and copy/paste it into Calc.

Thanks

Mohan
Comment 9 Joost Andrae 2004-04-06 08:46:14 UTC
Joost->Mohan: just read my posting above...
Comment 10 Unknown 2004-04-07 07:30:29 UTC
Those questions were asked as the above posting was not clear for the engineer. 
Can you please explain it better?

St: Can you help us getting more information on this?

Thanks
Priya
Comment 11 Joost Andrae 2004-04-07 09:20:52 UTC
JA: If you use menu item '/Insert/External Data' in OpenOffice.org Calc to
import HTML content then HTML tables can be selected by their number (in this
case tables are numbered by Calc) or by their name (if an HTML ID tag is given
within the HTML code).

As the HTML import has been improved in the upcoming version of OpenOffice.org a
different table is loaded into Calc if I use the same document to import the
IssueTracker report. As a result the imported data is garbage.

To workaround this problem I would like to have the ID tags set within the HTML
code generated by IssueTracker because I plan to _publish the OpenOffice.org
Calc document to generate the 'IssueTracker bug count, features & enhancements,
oooqa keyword and additional statistics'
(http://qa.openoffice.org/iz_statistic.html)

This document automates a lot of my work on creating the statistics.
Comment 12 stx123 2004-04-07 17:01:13 UTC
reassigning to me for further investigation with Joost
Comment 13 stx123 2004-04-27 12:56:43 UTC
1. How exactly are you "directly accessing the tables within the output of
Issuetracker"?
Start OpenOffice.org Spreadsheet
Use menu item Insert / External Data
Enter the URL of the report

Then you will see a list of several available tables from the document which are
arbitrary named.

2. What method are you following  to get an HTML file with a table of IZ query 
results ?
We are taking about reports and not queries.
The method is HTTP GET :-)
Seriously, OpenOffice.org's Spreadsheet is able to work on a document given by
an URL retrieved via HTTP.
This avoids the unnecessary additional step to download a temporary file and
allows easy updates.

And yes, the issue is asking collab to name a ID TAG to the tables - esp. to the
table contraining the report. This allows correct addressing of the report data
range with a well-defined URL.
Comment 14 Unknown 2004-05-20 04:45:27 UTC
Still on engineers queue.
Have queried them for the information. will update when a comment is received 
from the engineers

mohan
Comment 15 Unknown 2004-05-21 02:36:25 UTC
Is your asking, that the data tables in buglist.cgi (or possibly 
reports.cgi) have something like:
  <table id="foo">...</table>
So that the application has a point of reference as far as which table to 
grab ?
Is the import to Calc just looking 
for some kind of indentification (that we arbitrarily decide) so that the user 
can choose something to import?

please confirm whether this is report or query output that is being 
imported? & also (if possible)  Please provide an example URL that you want to 
use in this manner.  


Mohan
Comment 16 Unknown 2004-05-21 03:13:12 UTC
Assigning to st

Mohan
Comment 17 Joost Andrae 2004-05-24 09:02:04 UTC
JA->Mohan: In  
http://qa.openoffice.org/issues/reports.cgi?state=Open+issues&issue_type=DEFECT&containing=&type=case-insensitive+substring&x=Component&y=Status

it's the sixth table within the html output which is used and which needs a name
tag.
Comment 18 stx123 2004-05-24 16:28:51 UTC
Joost, let's answer all the asked questions.
reassigning to me...
Comment 19 stx123 2011-03-07 17:44:55 UTC
It seems this issue is outdated. Feel free to reopen if appropriate...