mroccuper commited on
Commit
97250c9
Β·
verified Β·
1 Parent(s): c98f422

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -6
app.py CHANGED
@@ -58,16 +58,24 @@ User may provide raw facts, a bio, a business update, or a rough news draft.
58
  - Return a fully structured PR article with HTML formatting.
59
  - At the END of the article, include a separate section with SEO metadata formatted as an HTML list:
60
  <h3>SEO Metadata</h3>
61
- <ul>
62
- <li><strong>βœ… Meta Title:</strong> [Your suggested title here]</li>
63
- <li><strong>βœ… Meta Description:</strong> [Your suggested description here]</li>
64
- <li><strong>βœ… Target Keyword:</strong> [Your suggested keyword here]</li>
65
- </ul>
66
  - Do NOT wrap the output in ```html or ``` markdown blocks.
67
 
 
 
 
 
 
 
 
 
 
68
  Please transform the following content into a professional PR-style article:
69
  """
70
-
71
  def clean_html_output(self, text):
72
  """Remove markdown code blocks and clean HTML output"""
73
  # Remove markdown code blocks (```html, ```HTML, ```, etc.)
 
58
  - Return a fully structured PR article with HTML formatting.
59
  - At the END of the article, include a separate section with SEO metadata formatted as an HTML list:
60
  <h3>SEO Metadata</h3>
61
+ <ul>
62
+ <p><strong>βœ… Meta Title:</strong> [Your suggested title here]</p>
63
+ <p><strong>βœ… Meta Description:</strong> [Your suggested description here]</p>
64
+ <p><strong>βœ… Target Keyword:</strong> [Your suggested keyword here]</p>
65
+ </ul>
66
  - Do NOT wrap the output in ```html or ``` markdown blocks.
67
 
68
+ ✨ ADVANCED FEATURES TO ENHANCE CREDIBILITY AND USABILITY:
69
+ - Auto-detect primary keyword if not provided
70
+ - Insert Schema.org metadata snippets for Articles
71
+ - Add Google News compatibility tags if requested
72
+ - Offer multiple headline variants (A/B test style)
73
+ - Calibrate tone on a slider: "Journalistic" to "Brand Voice"
74
+ - Export HTML, PDF, or plain text
75
+ - One-click publish to Notion or Ghost CMS
76
+
77
  Please transform the following content into a professional PR-style article:
78
  """
 
79
  def clean_html_output(self, text):
80
  """Remove markdown code blocks and clean HTML output"""
81
  # Remove markdown code blocks (```html, ```HTML, ```, etc.)