-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
174 lines (168 loc) · 8.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<!-- vim: textwidth=0 wrapmargin=0 shiftwidth=2 tabstop=2 expandtab softtabstop
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> -->
<script src="js/jquery_2.1.4_min.js"></script>
<script src="fd-dev-rss-search.js"></script>
<link rel="alternate" type="application/rss+xml" title="Elite: Dangerous Dev Posts" href="http://www.miggy.org/games/elite-dangerous/devtracker/ed-dev-posts.rss" />
<link href="style.css" rel="stylesheet" type="text/css"/>
<title>Elite: Dangerous - Unofficial Dev Forum Posts Search, by Athanasius</title>
</head>
<body>
<div class="blurb">
<h2>This tool is no longer actively maintained</h2>
<p>
<strong>Note that as of 2023-01-21 I have retired from all things
to do with Elite Dangerous.</strong> For the time being this
tool will continue, but I will no longer be actively
maintaining its list of watched accounts, nor even checking that it
is still working.
</p>
<h2>
What is this?
</h2>
<p>
If you're a fan of <a href="http://www.elitedangerous.com/">Elite:
Dangerous</a> then you may also follow the <a
href="http://frontier.co.uk/">Frontier Developments</a> <a
href="http://forums.frontier.co.uk/">forums</a>. If you do that
then you may be frustrated at the lack of an easy way to see just the
developer posts.
</p>
<p>
Your response then might be to write a scraper to form an <a
href="../devposts.html">RSS feed</a> of the posts. There have been others providing similar services. If you also want to keep up on Twitter, Steam and Reddit posts then <a href="https://elitedevtracker.com/">Elite Dangerous Dev Tracker</a> is useful.
</p>
<p>
You might then eventually decide that rather than doing direct SQL
queries on the database perhaps you should write a small web page to
allow anyone to search the 'precis' text of each post. That would be
what this page is for.
</p>
<p>
NB: The feed is updated at most every 5 minutes, more slowly if the
forums are especially busy. Thus there's no point polling this feed
more often than every 5 minutes. Also the output contains the last 7 days
worth of posts, so if you check the feed any less frequently than that
you will miss posts.
</p>
<p>
<b>Caveat 1</b> - This feed will only contain the fully public
posts from the forums, i.e. nothing from the Private Backers Forum or
the Alpha Backers Forum. Also you'll see <i>all Frontier Developments
forum posts, not just those relating to Elite: Dangerous.</i>
<br/>
<br/>
<b>Caveat 2</b> - Each post in this feed will be as it is seen on the
appropriate member profile page's "Activity List". That means you'll
only ever see the new text (only a portion of it for longer posts),
and never any quoted text. To gather the quoted text and/or full
posts would take an extra page load per item which would add to the
load that the scraper causes on the forum. I already go to some
lengths to lighten the impact the scraper has on the forums,
especially during those times the forums are under high load, and
wouldn't want to upset the moderators by causing more of an issue.
</p>
</div>
<hr/>
<div class="blurb">
<p>
The oldest useful posts are from around 10th October 2014, when I first started running the scraper. There are a few older posts where accounts had only posted a few times in the past, as far back as 2006!
</p>
<p>
Note that the box does accept <b>&</b> (ampersand) for logical AND along with <b>|</b> (pipe) for logical OR and <b>!</b> (exclamation mark) for logical NOT. So you can construct queries like "anarchy & ! wanted". If you do not include any of these logical operators then it will assume you want to search only for posts with containing all your words, i.e. it will turn "green tree frog" into "green & tree & frog". If you wanted an 'OR' search then you'd need to use "green | tree | frog".
</p>
<p>
Also note that the text search tries to be clever, it will include plurals of the words you specify and other such slight transformations.
</p>
<p>
The results are currently sorted on the Rank column, which is supplied by the underlying search engine, weighted towards words being found close together, and then by the Date/time column, most recent towards the top.
</p>
</div>
<h2>The Search Box</h2>
<form id="form_search" action="">
<table class="ed_form_table">
<tr>
<td>Search Text</td>
<td><input type="text" class="ed_text_entry" id="search_text" name="search_text" size="60"/></td>
</tr>
<tr>
<td>In Titles</td>
<td>
<input type="checkbox" class="form_submit" id="search_in_title" name="search_in_title" value="titles" checked="true"/>
</td>
</tr>
<tr>
<td>In Precis</td>
<td>
<input type="checkbox" class="form_submit" id="search_in_precis" name="search_in_precis" value="precis" checked="true"/>
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" class="form_submit" id="submit_search" name="Search" value="Search" />
</td>
</tr>
</table>
</form>
<div id="results">
<table class="results">
<tbody id="results_output">
<tr>
<th class="results_info_label result_rank" width="5%">Rank</th>
<th class="results_info_label result_datestamp" width="10%">Date/time</th>
<th class="results_info_label result_thread" width="15%">Thread (forum)</th>
<th class="results_info_label result_who" width="10%">Poster</th>
<th class="results_info_label result_precis" width="35"%>Precis</th>
</tr>
<tr class="result_row" id="result_X">
<td class="results_info_item result_rank"></td>
<td class="results_info_item result_datestamp"></td>
<td class="results_info_item result_thread"></td>
<td class="results_info_item result_who"></td>
<td class="results_info_item result_precis"></td>
</tr>
</tbody>
</table>
<div class="results" id="status">
</div>
</div>
<hr/>
<div class="blurb">
<h2>
Who are you?
</h2>
<p>
I go by the name 'Athanasius' online, and indeed I'm 'Cmdr Athanasius'
in Elite: Dangerous. You'll also find me as 'Athan' on <a
href="https://www.quakenet.org/">QuakeNet</a>'s
<a href="http://webchat.quakenet.org/?channels=elite-dangerous&uio=d4">#elite-dangerous</a>
and on the <a href="http://forums.frontier.co.uk/member.php?u=28846">Frontier
Forums</a>.
</p>
<hr/>
<h1>
News
</h1>
<p><u>2017-09-02 18:25 BST</u></br>
I've just implemented being able to search on thread title text as well as on the precis text. There are checkboxes, both on by default, to control this. If you try to search with neither ticked you'll get an error.
</p>
<p><u>2015-06-15 11:01 BST</u></br>
Linebreaks in the Precis output are now properly converted to <br/> sequences. I won't be attempting to parse URLs in there to linkify them, click through to the forum link if needs be.
</p>
<p><u>2015-06-15 23:50 BST</u></br>
If you specify no logical operators at all the query will assume you want ALL the terms to be present in results, i.e. it will turn "powerplay update" into "powerplay & update". If you really do want "powerplay | update" then you'll need to put that pipe character in.
</p>
<p><u>2015-06-15 23:23 BST</u></br>
First live version up and running, it's only searching on the 'precis' text for now, no filters for posters or
dates.
</p>
<hr/>
</div>
</body>
</html>