{% extends "base.html" %} {% block title %}{{ blog.name }} - Blog Toolkit{% endblock %} {% block content %}

{{ blog.name }}

{{ blog.url }} {% if blog.author_name %} | Author: {{ blog.author_name }} {% endif %}

Blog Information
Collection Method:
{{ blog.collection_method }}
Total Posts:
{{ posts|length if posts else 0 }}
Last Collected:
{{ blog.last_collected_at.strftime('%Y-%m-%d %H:%M') if blog.last_collected_at else 'Never' }}
{% if analysis and 'error' not in analysis %}

Analysis

{% if analysis.temporal and 'error' not in analysis.temporal %}
Temporal Metrics

Date Range: {{ analysis.temporal.date_range_days }} days

Average Gap: {{ "%.1f"|format(analysis.temporal.average_gap_days) }} days

First Post: {{ analysis.temporal.first_post[:10] if analysis.temporal.first_post else 'N/A' }}

Last Post: {{ analysis.temporal.last_post[:10] if analysis.temporal.last_post else 'N/A' }}

{% endif %} {% if analysis.content and 'error' not in analysis.content %}
Content Metrics

Total Words: {{ "{:,}".format(analysis.content.word_count.total) }}

Average Words: {{ "%.0f"|format(analysis.content.word_count.average) }}

Avg Reading Time: {{ "%.1f"|format(analysis.content.reading_time.average_minutes) }} minutes

{% endif %} {% if analysis.topics and 'error' not in analysis.topics %}
{% endif %} {% if analysis.sentiment and 'error' not in analysis.sentiment %}
Sentiment Analysis

Overall Sentiment: {{ analysis.sentiment.overall_sentiment.upper() }}

Compound Score: {{ "%.3f"|format(analysis.sentiment.average_compound) }}

Distribution: Positive: {{ analysis.sentiment.sentiment_distribution.positive }}, Neutral: {{ analysis.sentiment.sentiment_distribution.neutral }}, Negative: {{ analysis.sentiment.sentiment_distribution.negative }}

{% endif %} {% endif %}

Posts

{% for post in posts %} {% endfor %}
Title Published Words Reading Time Actions
{{ post.title }} {{ post.published_date.strftime('%Y-%m-%d') if post.published_date else 'N/A' }} {{ post.word_count or 'N/A' }} {{ post.reading_time or 'N/A' }} min View
{% endblock %} {% block scripts %} {% endblock %}