hatenablog Package

hatenablog Package

activity Module

class kawaz.core.activities.hatenablog.activity.HatenablogEntryActivityMediator[ソース]

ベースクラス: activities.mediator.ActivityMediator

alter(instance, activity, **kwargs)[ソース]
notifiers = ('twitter_kawaz_info', 'twitter_kawaz_official')

admin Module

class kawaz.core.activities.hatenablog.admin.HatenablogEntryAdmin(model, admin_site)[ソース]

ベースクラス: django.contrib.admin.options.ModelAdmin

media

conf Module

class kawaz.core.activities.hatenablog.conf.ActivitiesHatenablogAppConf(**kwargs)[ソース]

ベースクラス: appconf.base.AppConf

FEED_URL = 'http://kawazinfo.hateblo.jp/rss'
class Meta[ソース]

ベースクラス: object

prefix = 'activities_hatenablog'

models Module

class kawaz.core.activities.hatenablog.models.HatenablogEntry(*args, **kwargs)[ソース]

ベースクラス: django.db.models.base.Model

はてなブログで運営されているKawaz広報ブログの各エントリーを表すモデル

exception DoesNotExist

ベースクラス: django.core.exceptions.ObjectDoesNotExist

exception HatenablogEntry.MultipleObjectsReturned

ベースクラス: django.core.exceptions.MultipleObjectsReturned

HatenablogEntry.created_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

HatenablogEntry.get_absolute_url()[ソース]
HatenablogEntry.get_next_by_created_at(*moreargs, **morekwargs)
HatenablogEntry.get_previous_by_created_at(*moreargs, **morekwargs)
HatenablogEntry.id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

HatenablogEntry.md5

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

HatenablogEntry.objects = <django.db.models.manager.Manager object>
HatenablogEntry.thumbnail

Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.

HatenablogEntry.title

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

HatenablogEntry.url

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

scraper Module

class kawaz.core.activities.hatenablog.scraper.HatenablogFeedScraper(url=None, verbose=False)[ソース]

ベースクラス: object

fetch()[ソース]