Files
TagesByte/lib/models/article.dart
T
CedricandClaude Opus 5.5 f12fb1dabb Initial commit: Tagesbyte prototype
Flutter app that collects daily tech news from German and English RSS/Atom
feeds, with a reader view, AI article summaries and daily briefings (Claude
API or n8n webhook), paywall/sponsored filtering and ad/consent blocking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:53:37 +02:00

31 lines
702 B
Dart

import 'news_source.dart';
class Article {
const Article({
required this.title,
required this.link,
required this.source,
this.published,
this.excerpt = '',
this.contentHtml = '',
this.imageUrl,
this.author,
});
final String title;
final String link;
final NewsSource source;
final DateTime? published;
/// Short plain-text teaser from the feed (description / summary).
final String excerpt;
/// Full article HTML if the feed ships it (content:encoded / atom content).
final String contentHtml;
final String? imageUrl;
final String? author;
/// The link is unique enough to identify an article across refreshes.
String get id => link;
}