Content added Content deleted
No edit summary |
imported>mutante mNo edit summary |
||
(12 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
You can use <nowiki>[[Googlism:text]]</nowiki> to do a [[Googlism:googlism]] |
|||
also i found this googlism.pl its a [[Perl]] proggi for getting goolism's found [http://purepistos.net/eggdrop/googlism.pl here] |
|||
⚫ | |||
<pre> |
|||
⚫ | |||
use strict; |
use strict; |
||
Line 57: | Line 59: | ||
</pre> |
</pre> |
||
and a nice [[Python]] googlism script [http://www.alcyone.com/software/googlism/ here] |
|||
⚫ | |||
<pre> |
|||
⚫ | |||
""" |
""" |
||
Line 169: | Line 173: | ||
if __name__ == '__main__': main() |
if __name__ == '__main__': main() |
||
</pre> |
</pre> |
||
a few automatically created links: |
|||
Google:GooglIsm |
|||
[[Category:Searches]] |
|||
Wikipedia:GooglIsm |
|||
[[Category:Scripts]] |
|||
Dictionary:GooglIsm |
|||
[[Category:Wiki]] |
|||
UseMod:GooglIsm |
|||
[[Category:Isms]] |
|||
MeatBall:GooglIsm |
|||
C4:GooglIsm |
|||
InfoAnarchy:GooglIsm |
|||
C2:GooglIsm |
|||
...these should help if you are lucky.. try to make this page better,please. [http://www.c-ts.com.cn/PAGE/zhuye.html ▒ú╬┬╧Σ][http://www.c-ts.com.cn/PAGE/zhuye.html └Σ▓╪╧Σ][http://www.c-ts.com.cn/PAGE/zhuye.html ▒∙┤�?�][http://jiajiao.yinhenet.net �?╥╜╠][http://jiajiao.fuiu.net �?╥╜╠][http://jj.yinhenet.net �?╥╜╠][http://mj.yinhenet.net ├┼╜√][http://jd.yinhenet.net ╜┌╡τ][http://jn.yinhenet.net ╜┌─▄] |
|||
[http://quickfly01.yinhenet.net ┬╓╗¼╨¼][http://quickfly02.yinhenet.net ║╡▒∙╨¼][http://ershoufang.yinhenet.net ╢■╩╓╖�?][http://zufang.yinhenet.net ╫Γ╖�?][http://zulin.yinhenet.net ╫Γ┴�?][http://lipin01.yinhenet.net └±╞╖][http://lipin02.yinhenet.net └±╞╖][http://www.yuzhiguang.com ╒√╨╬][http://sinoglobal.51.net ╣▄└φ╫╔╤»][http://www.ninesage.com ╣▄└φ╫╔╤»][http://wobuhao8.51.net ╣▄└φ╫╔╤»][http://zhengxingls.51.net ╒√╨╬][http://zhengxingls01.51.net ╒√╨╬][http://zhengxingls02.51.net ╒√╨╬][http://quickfly01.yinhenet.net ┬╓╗¼╨¼][http://quickfly02.yinhenet.net ┴∩▒∙╨¼][http://xh.fuiu.net ╧╩╗¿][http://bjbdn.fuiu.net ▒╩�?╟▒╛╡τ─╘][http://jp.fuiu.net ╗·╞▒][http://lp.fuiu.net └±╞╖][http://www.qihang2008.com ┤≥╒█╗·╞▒][http://www.qihang2008.com ╠╪�?█╗·╞▒][http://www.qihang2008.com ╖╔╗·╞▒][http://www.bj-guoxiang.com ╗·╞▒][http://www.bj-guoxiang.com ╣·�?╩╗·╞▒][http://www.bj-guoxiang.com ╖╔╗·╞▒][http://www.bj-guoxiang.com ┤≥╒█╗·╞▒][http://yckg.fuiu.net ╤╣▓ε�?¬╣╪][http://www.srxing.cn �?╪╒╣╤╡┴╖][http://www.topcard.com.cn ╓ñ�?¿╗·][http://www.topcard.com.cn ╓ñ�?¿┤≥╙í╗·][http://www.allgo5.com �?┼╣║][http://jdkf.fuiu.net ╛╞╡Ω�?�?╖�?╡τ╞≈�?╪╓╞][http://www.cnliangju.com ╞½░┌╥╟][http://mmt.plas.hc360.com/provider/show/650/030000035650/cjj.htm �?╣╛·�?┴][http://www.huojia315.com ╗⌡�?▄][http://xianhua.yinhenet.net ╧╩╗¿][http://mmt.plas.hc360.com/provider/show/650/030000035650/cjj.htm ╣Γ┤Ñ├╜][http://www.huaguang.net ╠½╤⌠─▄╚╚╦«╞≈][http://www.hugeton.com ╚²╢╦][http://www.hugeton.com ╬╞▓¿][http://www.hugeton.com EMC┬╦▓¿╞≈][http://kjj.yinhenet.net �?╣╛·�?┴][http://gcm.yinhenet.net ╣Γ┤Ñ├╜][http://www.cnliangju.com ╡µ╠·][http://www.cnliangju.com ╠╪╓╓░Γ╩╓][http://petroleum.yinhenet.net petroleum][http://oilfield.yinhenet.net oilfield][http://huanbaokj.51.net ▒¿╛»╞≈][http://dzydjc.51.net/ ╡τ╫╙╥╞╢»╛»▓∞][http://huanbaokj.51.net ▒¿╛»╞≈][http://ls0000002.51.net ╡τ╚╚─ñ][http://ls0000001.51.net ╡τ▓╔┼»][http://ls0000004.51.net ╕┤╙í][http://cpu.fuiu.net cpu╨╛╞¼][http://ls0000006.51.net ╣▄└φ╫╔╤»][http://ls0000003.51.net ╗¼╤�?][http://ls0000008.51.net ┴▄╘í╖�?][http://www.musflyer.com ╥⌠╞╡�?¿][http://www.bjdllg.com ╬�?╣ª▓╣│Ñ][http://ls0000005.51.net ├√╞¼][http://lszzfy.51.net ╒⌠╞√╖�?][http://lszzmkdy.51.net ╟Θ╚╦╜┌└±╞╖][http://ls0000009.51.net ╟Θ╚╦╜┌└±╬∩][http://ls0000011.51.net ─ú�?Θ╡τ╘┤][http://feijipiao1.51.net ┤≥╒█╗·╞▒][http://feijipiao.512j.com ╠╪�?█╗·╞▒][http://feijipiao1.wy8.net ╖╔╗·╞▒][http://www.quickfly.com.cn ┬╓╗¼╨¼][http://www.quickfly.com.cn ║╡▒∙╨¼][http://www.quickfly.com.cn ┴∩▒∙╨¼][http://gongkong03.51.net ╣ñ╥╡╡τ─╘][http://gongkong02.51.net ╣ñ╥╡╓≈░σ][http://gongkong01.51.net ╣ñ�?╪╗·][http://www.avinfo.biz �?°┬τ╩╙╞╡][http://www.avinfo.biz ╩╙╞╡�?α�?╪][http://www.avinfo.biz �?°┬τ╩╙╞╡╖■╬±╞≈][http://www.taihuiky.com ╩╛▓¿╞≈][http://www.taihuiky.com ╞╡╞╫╥╟][http://www.taihuiky.com ╨┼║┼╘┤][http://www.taihuiky.com �?°┬τ╖╓╬÷╥╟][http://www.yinhenet.com �?°╒╛�?╞╣π][http://www.yinhenet.com ╖■╬±╞≈�?╨╣▄] [http://www.yinhenet.com �?°╒╛╜¿╔Φ][http://www.search88.net ╜╠╙²][http://www.yinehenet.com �?°╒╛�?╞╣π][http://www.fuiu.net ╗╖▒ú][http://blzp.fuiu.net ▓ú┴º╓╞╞╖][http://www.china-coffee.com �?º╖╚╗·][http://bxg.fuiu.net ▒ú╧╒╣±][http://hdj.fuiu.net ╗├╡╞╗·][http://cgq.fuiu.net ┤½╕╨╞≈][http://czj.fuiu.net ┤½╒µ╗·][http://fyz.fuiu.net ╕┤╙í╓╜][http://czz.fuiu.net ┤½╒µ╓╜][http://dyz.fuiu.net ┤≥╙í╓╜][http://ytj.fuiu.net ╥╗╠σ╗·][http://ksj.fuiu.net �?�?╟┌╗·][http://jzcl.fuiu.net ╜¿╓■▓─┴╧][http://dh.fuiu.net ╡τ╗░][http://dsq.fuiu.net ╡τ╩╙╟╜][http://dsq.fuiu.net ╡τ╩╙╟╜][[http://dyj.fuiu.net ┤≥╙í╗·][http://fscl.fuiu.net ╖└╦«▓─┴╧][http://www.yinhenet.com ╖■╬±╞≈�?╨╣▄][http://www.fuiu.net ╗╖▒ú][http://gp.fuiu.net ╣Γ┼╠][http://www.aaeon.com.cn ╣ñ�?╪][http://www.fuiu.net ╗╖▒ú][http://tyj.fuiu.net �?╢╙░╗·][http://gzj.fuiu.net ╕╔╘∩╗·][http://jbx.fuiu.net ╛█▒√╧í][http://jsj.fuiu.net ╛╗╦«╗·][http://jzcl.fuiu.net ╜¿╓■▓─┴╧][http://kqj.fuiu.net �?�?╟┌╗·][http://mh.fuiu.net ─½║╨][http://qh.fuiu.net ╟┘╨╨][http://jsq.fuiu.net �?╞╦π╞≈][http://skj.fuiu.net ╩╒�?ε╗·][http://smy.fuiu.net ╔¿├Φ╥╟] [http://szj.fuiu.net ╦Θ╓╜╗·][http://ycj.fuiu.net ╤Θ│«╗·][http://dsj.fuiu.net ╢�?╩Θ╗·][http://ycj.fuiu.net ╤Θ│«╗·][http://lxj.fuiu.net ┬�?╧≤╗·][http://smxj.fuiu.net ╩²┬δ╧α╗·][http://www.aaeon.com.cn ╣ñ�?╪][http://www.aaeon.com.cn ╣ñ�?╪╗·][http://www.chain-caffee.com �?º╖╚╗·][http://www.aaeon.com.cn ╣ñ╥╡╡τ─╘][http://www.aaeon.com.cn ╣ñ╥╡╓≈░σ][http://www.bjjcc.com ╜¿▓─│╟] |
Latest revision as of 20:48, 25 October 2005
You can use [[Googlism:text]] to do a Googlism:googlism
also i found this googlism.pl its a Perl proggi for getting goolism's found here
#!/usr/bin/perl -w use strict; use HTML::Entities; if( @ARGV < 1 ) { die "Insufficient arguments."; } my $term = $ARGV[ 0 ]; $term =~ m/^(.+?)[ ?!.]*$/; $term = $1; $term =~ s/[^wds]//g; $term =~ s/s+/+/g; my $term2 = $term; $term2 =~ s/+/ /g; my $command = "curl -m 60 -s "http://www.googlism.com/index.htm?ism=" . $term . "" | egrep -o "" . $term2 . " is .+<br>" > googlism.out"; `$command`; open( FIN, "<", "googlism.out" ); my $num = 0; my @results; while( my $line = <FIN> ) { $results[ $num ] = $line; $num++; } close( FIN ); if( $num > 0 ) { my $result = $results[ int( rand( $num ) ) ]; $result =~ s/<br>//; print( decode_entities( $result ) ); } else { print( "No results for $term. " ); }
and a nice Python googlism script here
#!/usr/bin/env python """ Python and command line access to the wisdom of googlism.com. """ import getopt import urllib import sys __program__ = 'googlism' __version__ = '1.0' __url__ = 'http://www.alcyone.com/software/googlism/' __author__ = 'Erik Max Francis <max@alcyone.com>' __copyright__ = 'Copyright (C) 2004 Erik Max Francis' __license__ = 'GPL' AGENT = 'googlism.py/%s' % __version__ class Opener(urllib.FancyURLopener): version = AGENT def __init__(self, *args): urllib.FancyURLopener.__init__(self, *args) class Googlism(object): TYPES = {'who': '1', 'what': '2', 'where': '3', 'when': '4'} DEFAULT_BASE_URL = 'http://www.googlism.com/index.htm' DEFAULT_TYPE = 'who' def __init__(self, baseUrl=DEFAULT_BASE_URL): self.baseUrl = baseUrl self.opener = Opener() def go(self, query, type=DEFAULT_TYPE): url = '%s?ism=%s&type=%s' % (self.baseUrl, urllib.quote(query), Googlism.TYPES[type]) theFile = self.opener.open(url) content = theFile.read() theFile.close() if content.find("doesn't know enough about") >= 0: return [] start = content.find('Googlism for:') current = content.find('<br>', start) result = [] while True: next = content.find('<br>', current) if next < 0: break fragment = content[current:next].strip() if fragment.find('<tr>') >= 0 or fragment.find('<td>') >= 0: break if fragment: result.append(fragment) current = next + len('<br>') return result def usage(): print >> sys.stderr, """ Usage: %(__program__)s [options] <query> Options: -1 --who Do a "who" query [default] -2 --what Do a "what" query -3 --where Do a "where" query -4 --when Do a "when" query -q --quiet Don't print anything to stderr for empty results """ % globals() def main(): _type = Googlism.DEFAULT_TYPE _verbose = True args = sys.argv[1:] if not args: usage() sys.exit() pairs, remainder = getopt.getopt(args, '1234q', ['who', 'what', 'where', 'when', 'quiet']) for option, argument in pairs: if option in ('-1', '--who'): _type = 'who' elif option in ('-2', '--what'): _type = 'what' elif option in ('-3', '--where'): _type = 'where' elif option in ('-4', '--when'): _type = 'when' elif option in ('-q', '--quiet'): _verbose = False _query = ' '.join(remainder) googlism = Googlism() result = googlism.go(_query, _type) if result: for line in result: print line code = 0 else: if _verbose: print >> sys.stderr, "No results were found" code = 1 sys.exit(code) if __name__ == '__main__': main()