[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-489380-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-489380-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","temex-web-template-extractor-automatic-site-level-web-template-extraction","TeMex - Web Template Extractor - Automatic Site-Level Web Template Extraction","","TeMex is a fully automatic site-level web template extractor that analyzes online webpages using only a URL, without needing preprocessing or any predefined set of pages. It includes a candidate-identification mechanism to find webpages sharing the same template, improving both recall and precision while reducing the number of pages loaded and processed. The paper presents the tool, its internal architecture, and empirical evaluation results.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/temex-web-template-extractor-automatic-site-level-web-template-extraction/489380/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/temex-web-template-extractor-automatic-site-level-web-template-extraction/489380.png","ImageObject",300,407,{"name":42,"@type":43},"Sarah ","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-08","2026-10-01",true,{"@type":52,"interactionType":53,"userInteractionCount":26},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What inputs does TeMex require to extract a website template?","Question",{"text":62,"@type":63},"TeMex requires only a URL. It does not need preprocessing or a predefined set of webpages about the template.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How does TeMex improve extraction quality and efficiency?",{"text":67,"@type":63},"It identifies webpage candidates that share the same template using an internal mechanism, which increases recall and precision while reducing how many webpages must be loaded and processed.",{"name":69,"@type":60,"acceptedAnswer":70},"How is TeMex used by users or other systems?",{"text":71,"@type":63},"TeMex is distributed as an official Firefox add-on, making it easy for human users. It is also designed to be used by other systems such as crawlers.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},489380,1790822592,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":26,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":33,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":123,"preview_page_count":33,"preview_urls":143},962085320529,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","TeMex: The Web Template Extractor􀀃  \nJulián Alarte & David Insa & Josep Silva  \nDepartamento de Sistemas Informáticos y Computación Universitat Politècnica de València Camino de Vera s/n E-46022 Valencia, Spain.  \n{jalarte,dinsa,[jsilva}@dsic.upv.es](jsilva}@dsic.upv.es)  \nSalvador Tamarit  \nBabel Research Group Universidad Politécnica de Madrid Campus de Montegancedo s/n 28660 Boadilla del Monte (Madrid), Spain.  \n[stamarit@babel.ls](stamarit@babel.ls).ﬁ. [upm.es](upm.es)  \nABSTRACT  \nThis paper presents and describes TeMex, a site-level web template extractor. TeMex is fully automatic, and it can work with online webpages without any preprocessing stage (no information about the template or the associated webpages is needed) and, more importantly, it does not need a prede-􀀌ned set of webpages to perform the analysis. TeMex only needs a URL. Contrarily to previous approaches, it includes a mechanism to identify webpage candidates that share the same template. This mechanism increases both recall and precision, and it also reduces the amount of webpages loaded and processed. We describe the tool and its internal architecture, and we present the results of its empirical evaluation.  \n1. INTRODUCTION  \nThis article presents TeMex, a tool able to automatically extract the template of a website. Template extraction is a hot topic with multiple applications, and thus, there exist several other approaches for template extraction (see, e.g. , [4, 8, 10]) . However, our new technique produces the best recall and precision in the state of the art with a remarkably improved performance. Moreover, thanks to a new algorithm, our tool needs to explore signi􀀌cantly less webpages to detect the template. TeMex is ready to be used by other systems, such as crawlers, and also by human users, because it is distributed as a (o􀀎cial) Firefox add-on.  \n1.1 Motivation  \nA web template (in the following just template) is a prepared HTML page where formatting is already implemented and visual components are ready to insert content into them.  \n􀀃 This work has been partially supported by the EU (FEDER) and the Spanish Ministerio de Econom􀀓􀀐a y Competitividad (Secretar􀀓􀀐a de Estado de Investigaci􀀓on, Desarrollo e Innovaci􀀓on) under Grant TIN2013-44742-C4-1-R and by the Generalitat Valenciana under Grant PROMETEOII/2015/013 . David Insa was partially supported by the Spanish Ministerio de Educaci􀀓on under FPU Grant AP2010-4415 . Salvador Tamarit was partially supported by research project POLCA, Programming Large Scale Heterogeneous Infrastructures (610686), funded by the European Union, STREP FP7 .  \nCopyright is held by the International World Wide Web Conference Committee (IW3C2) . IW3C2 reserves the right to provide a hyperlink to the author's site if the Material is used in electronic media.  \nWWW 2015 Companion, May 18–22, 2015, Florence, Italy. ACM 978-1-4503-3473-0/15/05 .  \n[http://dx.doi.org/10.1145/2740908.2742835](http://dx.doi.org/10.1145/2740908.2742835) .  \nTemplates are used as a basis for composing new webpages that share a common look and feel. This is good for web development because many tasks can be automated thanks to the reuse of components. In fact, many websites are maintained automatically by code generators that generate webpages using templates. Templates are also good for users, which can bene􀀌t from intuitive and uniform designs with a common vocabulary of colored and formatted visual elements.  \nTemplates are also important for crawlers and indexers, because they usually judge the relevance of a webpage according to the frequency and distribution of terms and hyperlinks. Since templates contain a considerable number of common terms and hyperlinks that are replicated in a large number of webpages, relevance may turn out to be inaccurate, leading to incorrect results (see, e.g., [4, 12, 10]) . Moreover, in general, templates do not contain relevant content, they usually contain one or more regions [4] where the main content m","cbCaic5N1TsbJpZG","https://ap.wps.com/l/cbCaic5N1TsbJpZG","pdf",1693206,"English","# Abstract\n# Introduction\n## Motivation\n# Case of Use","[{\"question\":\"What inputs does TeMex require to extract a website template?\",\"answer\":\"TeMex requires only a URL. It does not need preprocessing or a predefined set of webpages about the template.\"},{\"question\":\"How does TeMex improve extraction quality and efficiency?\",\"answer\":\"It identifies webpage candidates that share the same template using an internal mechanism, which increases recall and precision while reducing how many webpages must be loaded and processed.\"},{\"question\":\"How is TeMex used by users or other systems?\",\"answer\":\"TeMex is distributed as an official Firefox add-on, making it easy for human users. It is also designed to be used by other systems such as crawlers.\"}]","TeMex - Web Template Extractor - Automatic Site-Level Web Template Extraction | PDF",[144,148,152,156],{"page_no":22,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ef8df9c26c5a7bf4ec6aeba59474c74a.webp",983,1272,{"page_no":26,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/6bddfe2038cbfbb59f34119811b297c2.webp",982,1270,{"page_no":30,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/88b846db7f7e2404f4e99421fba959ca.webp",981,1269,{"page_no":33,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/848dcd724d48458190e86616318e0920.webp",980,1268]