Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Free Toolchain Software

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-26-2008, 01:59 AM
kinglothar
Status: Offline
Member
 
Join Date: Jan 2008
Posts: 49
Rep Power: 0
kinglothar is on a distinguished road
Default [Release] Offline Wikipedia browser

We've been several working on this lately, and came up with different solutions.
Well, here's mine: http://trac2.assembla.com/iPhonePedia/wiki
It was half-working for some time but now it's quite fine, with a good search function, a nice rendering and a very decent parsing.

It's a PHP-based version, which basically means the installtion is a bit painful, but I'm convinced installing a local PHP stack will soon start to be useful for other applications.


I'm terribly sorry about the delay, it really was a bit more difficult than planned when getting into the details...

Don't hesitate to submit a ticket for bugs or feature requests if you have suggestions!

Last edited by kinglothar; 01-26-2008 at 02:40 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-26-2008, 11:55 AM
kneeslasher
Status: Offline
Member
 
Join Date: Mar 2007
Posts: 40
Rep Power: 0
kneeslasher is on a distinguished road
Default

A Wikipedia offline version also needs the capability to be synced up with the most recent version periodically. A single snapshot becomes increasingly out of date.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-26-2008, 12:15 PM
kinglothar
Status: Offline
Member
 
Join Date: Jan 2008
Posts: 49
Rep Power: 0
kinglothar is on a distinguished road
Default

I personally don't mind if an encyclopedia is a couple months old, but anyway, I provide all the info to generate the correct datafiles based on any dump downloaded from download.wikimedia.org - not necessarily wikipedia, I just tested with wikibooks and it's working fine, except that there are many interwiki links, and I don't support these (yet?).

Also, I just corrected a bug in the indexer who mixed up some folders, so if it didn't work for you you can try again with the latest file.

Last edited by kinglothar; 01-26-2008 at 12:50 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 01-28-2008, 01:49 AM
kinglothar
Status: Offline
Member
 
Join Date: Jan 2008
Posts: 49
Rep Power: 0
kinglothar is on a distinguished road
Default

For those who were scared by the installation procedure, it is now much lighter and I even hope to distribute the app through the ModMyIphone installer source.

I also provide torrents for the English and French datafiles.

Don't hesite to request others.

I have also polished a bit the parser since some TOCs were badly formatted. All the pages I've been testing today render quite beautifully now.

I hope to support Math markup quite shortly, depending on the size it would require (images would be generated at indexing time).
Timelines are probably moch harder but I'm looking into it.

Enjoy!

Man, having the hitchhiker's guide to the galaxy in your pocket really is a special feeling!


I advise you to check out Tom's version as well, which is very nice-looking too: http://haukap.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 01-28-2008, 01:55 AM
netuser
Status: Offline
Member
 
Join Date: Nov 2007
Posts: 98
Rep Power: 7
netuser is on a distinguished road
Default

How doese this work ? the whole encyclopedia is offline in Iphone ? hwo much space doese it take ? It is quite amazing to see this.

When will it be on installer so that i can check

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 01-28-2008, 02:01 AM
willyb
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 35
Rep Power: 0
willyb is on a distinguished road
Default

Nice!!!


Would it be possible to make it even easier to install??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 01-28-2008, 08:58 AM
kinglothar
Status: Offline
Member
 
Join Date: Jan 2008
Posts: 49
Rep Power: 0
kinglothar is on a distinguished road
Default

Hi!

I now distribute the bzcat executable within the webapp so the webapp is now only one directory to copy!

You still need Apache, PHP and Perl unfortunately.

Also, I am uploading torrents for es, it, pl and de at this very moment, so datafiles should be just a directory copy for most of you as well!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 01-28-2008, 08:45 PM
mash.m
Status: Offline
Member
 
Join Date: Oct 2007
Posts: 37
Rep Power: 0
mash.m is on a distinguished road
Default

hello,

i have installed your wiki package and run your script makeindex.pl so i have the german version. all files copyed to the destination folders.
i can make a search maybe alen. i get some results, but when i want to see the details and click to the article i get the message: Sorry, could not find article ´Alan Smithee´

any idea?

markus

Last edited by mash.m; 01-28-2008 at 09:00 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 01-28-2008, 09:19 PM
mash.m
Status: Offline
Member
 
Join Date: Oct 2007
Posts: 37
Rep Power: 0
mash.m is on a distinguished road
Default

when i run the makeindex.pl i get the following message:



is the erorr "die syntax für den dateinamen..." normal ?
english: "the syntax for the filename, foldername or the data medium is wrong"

markus

Last edited by mash.m; 01-28-2008 at 09:31 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 01-29-2008, 12:46 AM
kinglothar
Status: Offline
Member
 
Join Date: Jan 2008
Posts: 49
Rep Power: 0
kinglothar is on a distinguished road
Default

Hi Markus

If the index file is not sorted then it's normal that the full-text seaerches work but not the actual locating of the article (the php script assumes the file is sorted, because I'm doing a dichotomy scan).

Just a guess but it may be that when executing the script the Windows 'sort' executable is picked up instead of the GNU/Unix/Cygwin one.

I have uploaded the correct executable on the wiki (sort.exe). Try to copy it in the same folder as the perl script.

MAke sure you have the latest indexer.pl as well, but I don't think I made any change recently.

Also, I provide the German version as a torrent on the site. Check out http://trac2.assembla.com/iPhonePedia/wiki/DataFiles. Normally I'm online all the time.



For all you folks I also uploaded the torrent for nl, pl, es, in addition to the existing en, fr and de.


I'd like to support wikitravel as well. Anyone knows if they provide dumps?

Last edited by kinglothar; 01-29-2008 at 01:10 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 06:31 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

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 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448