RSS-Crawler Enhancement for Blogosphere-Mapping

RSS-Crawler Enhancement for Blogosphere-Mapping

(IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 1, o. 2, 2010 RSS-Crawler Enhancement for Blogosphere-Mapping Justus Bross, Patrick Hennig, Philipp Berger, Christoph Meinel Hasso-Plattner Institute, University of Potsdam Prof.-Dr.-Helmert-Str. 2-3, 14482 Potsdam, Germany {justus.bross, office-meinel}@hpi.uni-potsdam.de {philipp.berger, patrick.hennig}@student.hpi.uni-potsdam.de Abstract— The massive adoption of social media has provided Facing this unique challenge we initiated a project with new ways for individuals to express their opinions online. The the objective to map, and ultimately reveal, content-, topic- blogosphere, an inherent part of this trend, contains a vast or network-related structures of the blogosphere by array of information about a variety of topics. It is a huge employing an intelligent RSS-feed-crawler. To allow the think tank that creates an enormous and ever-changing processing of the enormous amount of content in the archive of open source intelligence. Mining and modeling this vast pool of data to extract, exploit and describe meaningful blogosphere, it was necessary to make that content available knowledge in order to leverage structures and dynamics of offline for further analysis. The first prototype of our feed- emerging networks within the blogosphere is the higher-level crawler completed this assignment along the milestones aim of the research presented here. Our proprieteary specified in the initial project phase [4]. However, it soon development of a tailor-made feed-crawler-framework meets became apparent that a considerable amount of optimization exactly this need. While the main concept, as well as the basic would be necessary to fully account for the strong distinction techniques and implementation details of the crawler have between crawling regular web pages and mining the highly already been dealt with in earlier publications, this paper dynamic environment of the blogosphere. focuses on several recent optimization efforts made on the Section II is dedicated to related academic work that crawler framework that proved to be crucial for the describes distinct approaches of how and for what purpose performance of the overall framework. the blogosphere’s content and network characteristics can be Keywords – weblogs, rss-feeds, data mining, knowledge mapped. While section III focuses on the crawler’s original discovery, blogosphere, crawler, information extraction setup, functionality and its corresponding workflows, the following section IV is digging deeper into the optimization I. INTRODUCTION efforts and additional features that were realized since then Since the end of the 90s, weblogs have evolved to an and that ultimately proved to be crucial for the overall performance. Recommendations for further research are inherent part of the worldwide cyber culture [9]. In the year dealt with in section V. A conclusion is given in section VI, 2008, the worldwide number of weblogs has increased to a followed by the list of references. total in excess of 133 million [14]. Compared to around 60 million blogs in the year 2006, this constitutes the increasing II. RELATED WORK importance of weblogs in today’s internet society on a global Certainly, the idea of crawling the blogosphere is not a scale [13]. novelty. But the ultimate objectives and methods behind the One single weblog is embedded into a much bigger different research projects regarding automated and picture: a segmented and independent public that methodical data collection and mining differ greatly as the dynamically evolves and functions according to its own rules following examples suggest: and with ever-changing protagonists, a network also known While Glance et. al. employ a similar data collection as the “blogosphere” [16]. A single weblog is embedded into method as we do, their subset of data is limited to 100.000 this network through its trackbacks, the usage of hyperlinks weblogs and their aim is to develop an automated trend as well as its so-called “blogroll” – a blogosphere-internal referencing system. discovery method in order to tap into the collective This interconnected think tank thus creates an enormous consciousness of the blogosphere [7]. Song et al. in turn try and ever-changing archive of open source intelligence [12]. to identify opinion leaders in the blogosphere by employing Modeling and mining the vast pool of data generated by the a special algorithm that ranks blogs according to not only blogosphere to extract, exploit and represent meaningful how important they are to other blogs, but also how novel knowledge in order to leverage (content-related) structures of the information is they contribute [15]. Bansal and Koudas emerging social networks residing in the blogosphere were are employing a similar but more general approach than the main objective of the projects initial phase [4]. Song et al. by extracting useful and actionable insights with their BlogScope-Crawler about the ‘public opinion’ of all Page | 51 http://ijacsa.thesai.org/ (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 1, o. 2, 2010 blogs programmed with the blogging software blogspot.com [2]. Bruns tries to map interconnections of individual blogs with his IssueCrawler research tool [5]. His approach comes closest to our own project’s objective of leveraging (content-related) structures and dynamics of emerging networks within the blogosphere. Overall, it is striking that many respectable research projects regarding knowledge discovery in the blogosphere [1] [10] hardly make an attempt in explaining where the data - necessary for their ongoing research - comes from and how it is ultimately obtained. We perceive it as nearsighted to base research like the ones mentioned before on data of external services like Technorati, BlogPulse or Spinn3r [6]. We also have ambitious plans of how to ultimately use blog data [3] - we at least make the effort of setting up our Figure 1. Action Sequence of RSS-Feed Crawler own crawling framework to ensure and prove that the data employed in our research has the Whenever a link is analyzed, we first of all need to assess quantity, structure, format and quality required and necessary whether it is a link that points to a weblog, and also with [4]. which software the blog is created. Usually this information can be obtained via attributes in the metadata of a weblogs III. ORIGINAL CRAWLER SETUP header. It can however not be guaranteed that every blog The feed crawler is implemented in Groovy1, a dynamic provides this vital information for us as described before. programming language for the Java Virtual Machine (JVM) There is a multitude of archetypes across the whole HTML [8]. Built on top of the Java programming language, Groovy page of a blog that can ultimately be used to identify a provides excellent support for accessing resources over certain class of weblog software. By classifying different HTTP, parsing XML documents, and storing information to blog-archetypes beforehand on the basis of predefined relational databases. Features like inheritance of the object- patterns, the crawler is than able to identify at which oriented programming language are used to model the locations of a webpage the required identification patterns specifics of different weblog systems. Both the specific can be obtained and how this information needs to be implementation of the feed crawler on top of the JVM, as processed in the following. Originally the crawler knew how well its general architecture separating the crawling process to process the identification patterns of three of the most into retrieval, scheduling and retrieval, allow for a distributed prevalent weblog systems around [11]. In the course of the operation of the crawler in the future. Such distribution will project, identifications patterns of other blog systems become inevitable once the crawler is operated in long-term followed. In a nutshell, the crawler is able to identify any production mode. These fundamental programming blog software, whose identification patterns were provided characteristics were taken over for the ongoing development beforehand. of the crawler framework. The recognition of feeds can similarly to any other The crawler starts his assignment with a predefined and recognition-mechanism be configured individually for any arbitrary list of blog-URLs (see figure 1). It downloads all blog-software there is. Usually, a web service provider that available post- and comment-feeds of that blog and stores likes to offer his content information in form of feeds, them in a database. It than scans the feed’s content for links provides an alternative view in the header of its HTML to other resources in the web, which are then also crawled pages, defined with a link tag. This link tag carries an and equally downloaded in case these links point to another attribute (rel) specifying the role of the link (usually blog. Again, the crawler starts scanning the content of the “alternate”, i.e. an alternate view of the page). Additionally, additional blog feed for links to additional weblogs. the link tag contains attributes specifying the location of the alternate view and its content type. The feed crawler checks the whole HTML page for exactly that type of information. 1 http://groovy.codehaus.org/ In doing so, the diversity of feed-formats employed in the Page | 52 http://ijacsa.thesai.org/ (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 1, o. 2, 2010 web is a particular challenge for our crawler, since on top of same form by all blog software systems. This again explains the current RSS 2.0 version, RSS 0.9, RSS 1.0 and the why we pre-defined distinct blog-software classes in order to ATOM format among others are also still used by some web provide the crawler with the necessary identification patterns service providers. Some weblogs above all code lots of of a blog system. Comments can either be found in the additional information into the standard feed.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us