Soy un tipo de superficie. No frecuento alturas ni me sumerjo con la dignidad del submarinista. Doy saltitos, breves, frecuentes, porfiados, casi un trote. Es así, nada me eleva más de unos instantes y habiendo conocido a Euridice no se despertó (curiosa contradicción) Orfeo.
Nada de esto importa. Esto es lo que voy a hacer:
Alguien me dijo que Jean Anthelme Brillat-Savarin escribió un interesante tratado titulado fisiología del gusto, tratado del cual solo me ha llegado algo así como "dime que comes y te diré quién eres". Voy a dar por bueno el aforismo y lo voy a traducir al consumo web: "dime que sitios navegas y te diré quién eres". Bueno no es exáctamente así pero pongamosle que es más o menos así.
Acá voy a dar la receta. A las recetas -esto no debería ser así- siempre les falta el know how del tacto. Esto es igual:
01 Agarramos historial a gusto
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=162#
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=162
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=165#
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=165
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=159#
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=159
http://www.xulen.com.ar/curricular/dt2/item/86-de-donde-venimos-non-gui.html
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=153#
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=153
http://www.xulen.com.ar/curricular/dt2.html
http://www.clarin.com/deportes/Mascherano-Barcelona_0_324567742.html
http://www.flickr.com/photos/bevinaston/2073758332/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=23
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=22
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=13
http://www.flickr.com/photos/thinctanc/2125766002/
http://www.flickr.com/photos/joshua_new/2894161279/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=12
http://www.flickr.com/photos/minachca/445153199/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=11
http://www.flickr.com/photos/32896082@N00/377293840/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=10
http://www.flickr.com/photos/mrjphotography/4840787442/in/photostream/
http://www.flickr.com/photos/mrjphotography/4840802780/in/photostream/
http://www.flickr.com/photos/dans_la_reine/185088777/in/photostream/
http://www.flickr.com/photos/dans_la_reine/194119207/in/photostream/
http://www.flickr.com/photos/dans_la_reine/194119209/in/photostream/
http://www.flickr.com/photos/mrjphotography/4840802780/
http://www.flickr.com/photos/dans_la_reine/173160536/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=9
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=8
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=7
http://theinspirationroom.com/daily/2006/mamazone-breast-cancer-posters/
http://theinspirationroom.com/daily/print/2006/10/mamazone-breast.jpg
http://www.google.com.ar/imgres?imgurl=http://theinspirationroom.com/daily/print/2006/10/mamazone-
breast.jpg&imgrefurl=http://theinspirationroom.com/daily/2006/mamazone-breast-cancer-posters/&usg=__8e-
WVDDBB8wW_JVzQfgZ5lh-6ws=&h=338&w=468&sz=11&hl=es&start=866&zoom=1&tbnid=-0JHSp7pk-iwCM:&tbnh=158&tbnw=241&prev=/images
%3Fq%3Dbreast%26um%3D1%26hl%3Des%26client%3Dfirefox-a%26sa%3DN%26rls%3Dorg.mozilla:es-AR:official%26biw%3D1280%26bih
%3D831%26tbs
%3Disch:11%2C26461&um=1&itbs=1&iact=hc&vpx=975&vpy=485&dur=2495&hovh=191&hovw=264&tx=92&ty=152&ei=m114TOKZDoLknAffocGdCw&o
ei=bF14TPDAGYi5nAebup2dCw&esq=38&page=38&ndsp=22&ved=1t:429,r:15,s:866&biw=1280&bih=831
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=6
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=5
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=4
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=3
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=2
http://www.flickr.com/search/?w=all&q=breast+feed&m=text
http://www.007b.com/wonders_breastfeeding.php
http://www.007b.com/breast_gallery.php
http://en.wikipedia.org/wiki/File:Namibie_Himba_0716a.jpg
http://a11news.com/2005/tennis-player-breast-reduction/
http://www.ecosalon.com/breast-augmentation-global-costs/
http://www.ecosalon.com/wp-content/uploads/2009/08/breast-feeding.jpg
http://www.google.com.ar/imgres?imgurl=http://a11news.com/images/simona-halep-34dd-
breasts.jpg&imgrefurl=http://a11news.com/2005/tennis-player-breast-
reduction/&usg=__Uw5t9f3RlnKna3txnI8_K3Cz92o=&h=400&w=400&sz=61&hl=es&start=450&zoom=1&tbnid=PnGBkihOt3sh1M:&tbnh=160&tbnw
=152&prev=/images%3Fq%3Dbreast%26um%3D1%26hl%3Des%26client%3Dfirefox-a%26sa%3DN%26rls%3Dorg.mozilla:es-AR:official%26biw
%3D1280%26bih%3D831%26tbs
%3Disch:10%2C13680&um=1&itbs=1&iact=hc&vpx=133&vpy=374&dur=6997&hovh=225&hovw=225&tx=60&ty=131&ei=k1t4TMXkMJKRnwf6y_T3AQ&o
ei=Flt4TLGhHJySnAe6jpGdCw&esq=20&page=20&ndsp=24&ved=1t:429,r:12,s:450&biw=1280&bih=831
http://www.google.com.ar/imgres?imgurl=http://www.ecosalon.com/wp-content/uploads/2009/08/breast-
feeding.jpg&imgrefurl=http://www.ecosalon.com/breast-augmentation-global-
costs/&usg=__5TwL3Rc8TtGLZAYIYciE7rSKcpQ=&h=302&w=455&sz=37&hl=es&start=146&zoom=1&tbnid=D1FyFyo9Y9w1pM:&tbnh=158&tbnw=211
&prev=/images%3Fq%3Dbreast%26um%3D1%26hl%3Des%26client%3Dfirefox-a%26sa%3DN%26rls%3Dorg.mozilla:es-AR:official%26biw
%3D1280%26bih%3D831%26tbs
%3Disch:10%2C4332&um=1&itbs=1&iact=hc&vpx=402&vpy=91&dur=16&hovh=183&hovw=276&tx=167&ty=116&ei=YVt4TO_jHNT_nQeppNDBAQ&oei=
Flt4TLGhHJySnAe6jpGdCw&esq=7&page=7&ndsp=24&ved=1t:429,r:2,s:146&biw=1280&bih=831
http://www.flickr.com/search/?w=all&q=mammary&m=text#page=3
http://www.flickr.com/search/?w=all&q=mammary&m=text#page=2
http://www.flickr.com/search/?w=all&q=mammary&m=text
http://www.google.com.ar/images?q=breast&oe=utf-8&rls=org.mozilla:es-AR:official&client=firefox-a&um=1&ie=UTF-
8&source=og&sa=N&hl=es&tab=wi&biw=1280&bih=831
http://en.wikipedia.org/wiki/Breast
http://googleads.g.doubleclick.net/aclk?sa=l&ai=BX8iz7Fh4TPDFKqO-zQW-
lISXCJ_ehLwB79b4uBj32a__Q7DMCxABGAEgz6KWBDgAUJuTh6kBYKHQhIAsoAGR8M7lA7IBE2NvbW11bml0eS5nZXRrMi5vcme6AQoxNjB4NjAwX2FzyAED2g
FXaHR0cDovL2NvbW11bml0eS5nZXRrMi5vcmcvZm9ydW0vdG9waWNzL2NhdGVnb3J5LXBhZ2Utc2hvd3MtaW5jbHVkZWQ_eGdfc291cmNlPWFjdGl2aXR5gAIB
qQKhr9lA7Fu1PsACBMgCz57dEagDAcgDBegDqAboAx_oA6sC9QMAAQBE&num=1&sig=AGiWqtyZofGmiragb6LBU6k3AwsZdw80Kg&client=ca-pub-
6448271384249925&adurl=http://www.groupon.com.ar/sites/www.groupon.com.ar/lp/lp/006/index.php%3Ftimg%3Dsushi%26CID
%3DAR_SEM_3_601_1618_1108__6465200255&nm=2
http://www.groupon.com.ar/sites/www.groupon.com.ar/lp/lp/006/index.php?
timg=sushi&CID=AR_SEM_3_601_1618_1108__6465200255&gclid=CM6WlNn32qMCFYTs7QodQz3W9Q
http://www.googleadservices.com/pagead/aclk?sa=L&ai=BX8iz7Fh4TPDFKqO-zQW-
lISXCJ_ehLwB79b4uBj32a__Q7DMCxABGAEgz6KWBDgAUJuTh6kBYKHQhIAsoAGR8M7lA7IBE2NvbW11bml0eS5nZXRrMi5vcme6AQoxNjB4NjAwX2FzyAED2g
FXaHR0cDovL2NvbW11bml0eS5nZXRrMi5vcmcvZm9ydW0vdG9waWNzL2NhdGVnb3J5LXBhZ2Utc2hvd3MtaW5jbHVkZWQ_eGdfc291cmNlPWFjdGl2aXR5gAIB
qQKhr9lA7Fu1PsACBMgCz57dEagDAcgDBegDqAboAx_oA6sC9QMAAQBE&num=1&client=ca-pub-
6448271384249925&nm=2&val=ChAyMmI0OWI1M2ZiMDAwMGIzEP68reMEGghK9-jb4GqfQCABKAE&sig=AGiWqtzA140IgamaUAd3o9ErJWb1qFe-
nw&adurl=http://www.groupon.com.ar/sites/www.groupon.com.ar/lp/lp/006/index.php%3Ftimg%3Dsushi%26CID
%3DAR_SEM_3_601_1618_1108__6465200255
http://www.google.com/search?q=breast&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-AR:official&client=firefox-a
http://www.google.com.ar/search?q=breast&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-AR:official&client=firefox-a
http://www.flickr.com/search/?q=breast#page=6
http://www.flickr.com/search/?q=breast#page=5
http://www.flickr.com/search/?q=breast#page=4
http://www.flickr.com/search/?q=breast#page=3
http://www.flickr.com/search/?q=breast#page=2
http://www.flickr.com/search/?q=breast
http://www.flickr.com/search/?s=int&w=all&q=breast&m=text#page=2
http://www.flickr.com/photos/pa-i_ki-i/3953927457/
http://www.flickr.com/search/?s=int&w=all&q=breast&m=text
http://www.flickr.com/photos/networkosaka/2318251354/
http://www.flickr.com/search/?q=interface&s=int
http://www.flickr.com/search/?q=interface
http://www.xulen.com.ar/curricular/dt1.html
http://www.xulen.com.ar/administrator/index.php?option=com_menus&task=type&menutype=mainmenu&cid[]=0&expand=k2
http://www.xulen.com.ar/administrator/index.php?option=com_menus&task=type&menutype=mainmenu&cid[]=0&expand=jce
http://www.xulen.com.ar/administrator/index.php?option=com_menus&menutype=mainmenu&task=edit&cid[]=225#
http://www.xulen.com.ar/administrator/index.php?option=com_menus&menutype=mainmenu&task=edit&cid[]=225
http://www.xulen.com.ar/administrator/index.php?option=com_installer#
http://community.getk2.org/xn/detail/3536014:Topic:65965?xg_source=activity
http://community.getk2.org/forum/topics/category-page-shows-included?xg_source=activity
http://www.google.com.ar/search?hl=es&client=firefox-a&hs=xao&rls=org.mozilla%3Aes-AR%3Aofficial&q=show+category
+description+on+article+page+k2&aq=f&aqi=&aql=&oq=&gs_rfai=
http://demo.getk2.org/en/catalog-product
http://demo.getk2.org/en/k2-enhanced-virtuemart-products
http://demo.getk2.org/en/latest-items-by-selected-users
http://demo.getk2.org/en/latest-items-by-selected-categories
http://demo.getk2.org/en/categories
http://demo.getk2.org/
http://community.getk2.org/profiles/blog/list
https://www.google.com/webmasters/tools/dashboard?hl=es&siteUrl=http://www.servicefloor.com.ar/
https://www.google.com/webmasters/tools/home?hl=es&siteUrl=http://www.xulen.com.ar/
http://www.writingyourdreams.com/tips-and-tutorials/components/k2-cck-tutorials/part-3k2-layout/item/73-k2-category-item-
layout-parameters
http://community.getk2.org/forum/topics/how-to-view-subcategory?id=3536014%3ATopic%3A61170&page=2#comments
http://community.getk2.org/xn/detail/3536014:Topic:61170
http://community.getk2.org/forum/topics/how-to-view-subcategory
http://www.google.com.ar/search?hl=es&client=firefox-a&hs=uuT&rls=org.mozilla%3Aes-AR%3Aofficial&q=showing+category
+description+on+article+page+k2&aq=f&aqi=&aql=&oq=&gs_rfai=
http://www.google.com/search?q=module+category+description+k2&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-
AR:official&client=firefox-a
http://www.google.com.ar/search?q=module+category+description+k2&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-
AR:official&client=firefox-a
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=170#
http://www.xulen.com.ar/administrator/index.php?option=com_advancedmodules&client=0&task=edit&cid[]=170
http://www.rockettheme.com/index.php?start=5
http://www.joomlabamboo.com/download-document/307-captifycontent-v13
http://www.joomlabamboo.com/joomla-extensions/free-joomla-extensions/captifycontent-beautiful-captions-for-your-content
http://www.joomlabamboo.com/joomla-extensions/captifycontent-beautiful-captions-for-your-content
http://www.bambootheme.com/showcase/jul09/index.php?option=com_content&view=article&id=59&Itemid=74
http://showcase.joomlabamboo.com/jul09
http://www.bambootheme.com/showcase/jul09/
http://www.bambootheme.com/showcase/jul09
http://showcase.joomlabamboo.com/jul09/
http://extensions.joomla.org/search?q=k2&start=100
http://extensions.joomla.org/search?q=k2&start=80
http://extensions.joomla.org/search?q=k2&start=60
http://extensions.joomla.org/extensions/news-display/articles-showcase/9192?qh=YToxOntpOjA7czoyOiJrMiI7fQ%3D%3D
http://extensions.joomla.org/search?q=k2&start=40
http://extensions.joomla.org/search?q=k2&start=20
http://extensions.joomla.org/search?q=k2
02 Acá podemos hacer de dos formas:
- Usamos cada URL y alimentamos delicius (todo es gusto amigos)
- Levantamos los keywords que corresponden a las URL.
- Guardamos cada ocurrencia tag/keyword identificado
- Hacemos una lista de frecuencia
- Usamos cada URL y alimentamos un code de análisis textual.
- Levantamos las frecuencias descartando las proposiciones y demas.
- Hacemos una lista de frecuencia.
03 Hacemos nuestro cloud avatar
Coud avatar demostrativo, muy preliminar y totalmente falso
Esto tiene una segunda y tercera etapa. La segunda estapa es la que más me interesa. Contrasto el cloud avatar con delicious. CA=URL de coincidencia if not CA-1=URL de coincidencia, así con iteración hasta llegar a una coincidencia. Tomamos esa URL de coincidencia y le aplicamos "network sonification" de Zach Layton para que nos devuelva un avatar sonoro.
Este fue realizado sobre el New York Times.
El paso final, y aun no lo defino, sería darle algún tipo de imágen que puede rondar el fractal o directamente levantar con la misma mecánica que CA=foto de flickr. En fin veremos
Demo code
test.py
# * Phases and insertion modes are one concept in parser.py.
# * EOF handling is slightly different to make sure <html>, <head> and <body>
# always exist.
# * We're not detecting all DOCTYPE modes yet
#
# XXXAvK: I think there are some other quirks, but it might make sense to
# wait with fixing them until browsers start more seriously implementing the
# HTML5 parsing algorithm.
try:
frozenset
except NameError:
# Import from the sets module for python 2.3
from sets import Set as set
from sets import ImmutableSet as frozenset
import sys
import tokenizer
import treebuilders
from treebuilders._base import Marker
from treebuilders import simpletree
import utils
from constants import contentModelFlags, spaceCharacters, asciiUpper2Lower
from constants import scopingElements, formattingElements, specialElements
from constants import headingElements, tableInsertModeElements
from constants import cdataElements, rcdataElements, voidElements
class HTMLParser(object):
"""HTML parser. Generates a tree structure from a stream of (possibly
malformed) HTML"""
def __init__(self, strict = False, tree=simpletree.TreeBuilder,
tokenizer=tokenizer.HTMLTokenizer):
"""
strict - raise an exception when a parse error is encountered
tree - a treebuilder class controlling the type of tree that will be
returned. Built in treebuilders can be accessed through
html5lib.treebuilders.getTreeBuilder(treeType)
tokenizer - a class that provides a stream of tokens to the treebuilder.
This may be replaced for e.g. a sanitizer which converts some tags to
text
"""
# Raise an exception on the first error encountered
self.strict = strict
self.tree = tree()
self.tokenizer_class = tokenizer
self.errors = []
# "quirks" / "almost-standards" / "standards"
self.quirksMode = "standards"
self.phases = {
"initial": InitialPhase(self, self.tree),
"rootElement": RootElementPhase(self, self.tree),
"beforeHead": BeforeHeadPhase(self, self.tree),
"inHead": InHeadPhase(self, self.tree),
# XXX "inHeadNoscript": InHeadNoScriptPhase(self, self.tree),
"afterHead": AfterHeadPhase(self, self.tree),
"inBody": InBodyPhase(self, self.tree),
"inTable": InTablePhase(self, self.tree),
"inCaption": InCaptionPhase(self, self.tree),
"inColumnGroup": InColumnGroupPhase(self, self.tree),
"inTableBody": InTableBodyPhase(self, self.tree),
"inRow": InRowPhase(self, self.tree),
"inCell": InCellPhase(self, self.tree),
"inSelect": InSelectPhase(self, self.tree),
"afterBody": AfterBodyPhase(self, self.tree),
"inFrameset": InFramesetPhase(self, self.tree),
"afterFrameset": AfterFramesetPhase(self, self.tree),
"trailingEnd": TrailingEndPhase(self, self.tree)
}
def _parse(self, stream, innerHTML=False, container="div",
encoding=None, **kwargs):
self.tree.reset()
self.firstStartTag = False
self.errors = []
self.tokenizer = self.tokenizer_class(stream, encoding=encoding,
parseMeta=not innerHTML, **kwargs)
if innerHTML:
self.innerHTML = container.lower()
if self.innerHTML in cdataElements:
self.tokenizer.contentModelFlag = tokenizer.contentModelFlags["RCDATA"]
elif self.innerHTML in rcdataElements:
Voy a producir un pequeño video que ilustre y escribir parte del argumento funcional.
