Skip to content

aolieman/bmparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

A user can submit his/her LinkedIn profile page using a bookmarklet. On the backend this html file is parsed to structured data.

REQUIREMENTS

On Ubuntu you need to install libxml2-dev and libxslt1-dev

BASIC USAGE IN DJANGO

Add the bmparser.apps.django_app app to your django settings.

Example urls.py:

#!python
from django.conf.urls import url
from bmparser.receivers import BaseReceiver, receiver_registry
from bmparser.apps.django_app.views import ParseJobsView

# Initialize the default receiver
receiver_registry['default'] = BaseReceiver('https://roel.obdam.net:8443/bmparser/')

urlpatterns = [
    # Url used by the receiver
    url(r'^{}$'.format(receiver_registry['default'].get_url_path()),
        ParseJobsView.as_view(template_name="bmparser/home.html"), name='home')
]

TESTS

All tests are compatible with nose. They can be run by executing the nosetests command from the project root directory.

COPYRIGHT

The copyright to bmparser is shared by the following contributors:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors