Update app.py
Browse files
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 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 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.)
|