@jjlmoya/utils-social 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +59 -58
- package/src/category/i18n/de.ts +23 -0
- package/src/category/i18n/id.ts +23 -0
- package/src/category/i18n/it.ts +23 -0
- package/src/category/i18n/ja.ts +23 -0
- package/src/category/i18n/ko.ts +23 -0
- package/src/category/i18n/nl.ts +23 -0
- package/src/category/i18n/pl.ts +23 -0
- package/src/category/i18n/pt.ts +23 -0
- package/src/category/i18n/ru.ts +23 -0
- package/src/category/i18n/sv.ts +23 -0
- package/src/category/i18n/tr.ts +23 -0
- package/src/category/i18n/zh.ts +23 -0
- package/src/category/index.ts +12 -0
- package/src/index.ts +8 -0
- package/src/tests/i18n_coverage.test.ts +36 -0
- package/src/tests/locale_completeness.test.ts +1 -1
- package/src/tests/schemas_fulfillment.test.ts +23 -0
- package/src/tests/slug_uniqueness.test.ts +81 -0
- package/src/tests/title_quality.test.ts +55 -0
- package/src/tool/redditFormatter/i18n/de.ts +193 -0
- package/src/tool/redditFormatter/i18n/en.ts +1 -1
- package/src/tool/redditFormatter/i18n/es.ts +1 -1
- package/src/tool/redditFormatter/i18n/fr.ts +1 -1
- package/src/tool/redditFormatter/i18n/id.ts +193 -0
- package/src/tool/redditFormatter/i18n/it.ts +193 -0
- package/src/tool/redditFormatter/i18n/ja.ts +193 -0
- package/src/tool/redditFormatter/i18n/ko.ts +193 -0
- package/src/tool/redditFormatter/i18n/nl.ts +193 -0
- package/src/tool/redditFormatter/i18n/pl.ts +193 -0
- package/src/tool/redditFormatter/i18n/pt.ts +193 -0
- package/src/tool/redditFormatter/i18n/ru.ts +193 -0
- package/src/tool/redditFormatter/i18n/sv.ts +193 -0
- package/src/tool/redditFormatter/i18n/tr.ts +193 -0
- package/src/tool/redditFormatter/i18n/zh.ts +193 -0
- package/src/tool/redditFormatter/index.ts +15 -7
- package/src/tool/safeZones/i18n/de.ts +244 -0
- package/src/tool/safeZones/i18n/id.ts +244 -0
- package/src/tool/safeZones/i18n/it.ts +244 -0
- package/src/tool/safeZones/i18n/ja.ts +244 -0
- package/src/tool/safeZones/i18n/ko.ts +244 -0
- package/src/tool/safeZones/i18n/nl.ts +244 -0
- package/src/tool/safeZones/i18n/pl.ts +244 -0
- package/src/tool/safeZones/i18n/pt.ts +244 -0
- package/src/tool/safeZones/i18n/ru.ts +244 -0
- package/src/tool/safeZones/i18n/sv.ts +244 -0
- package/src/tool/safeZones/i18n/tr.ts +244 -0
- package/src/tool/safeZones/i18n/zh.ts +244 -0
- package/src/tool/safeZones/index.ts +17 -9
- package/src/tool/socialImageResizer/i18n/de.ts +211 -0
- package/src/tool/socialImageResizer/i18n/en.ts +1 -1
- package/src/tool/socialImageResizer/i18n/id.ts +211 -0
- package/src/tool/socialImageResizer/i18n/it.ts +211 -0
- package/src/tool/socialImageResizer/i18n/ja.ts +211 -0
- package/src/tool/socialImageResizer/i18n/ko.ts +211 -0
- package/src/tool/socialImageResizer/i18n/nl.ts +211 -0
- package/src/tool/socialImageResizer/i18n/pl.ts +211 -0
- package/src/tool/socialImageResizer/i18n/pt.ts +211 -0
- package/src/tool/socialImageResizer/i18n/ru.ts +211 -0
- package/src/tool/socialImageResizer/i18n/sv.ts +211 -0
- package/src/tool/socialImageResizer/i18n/tr.ts +211 -0
- package/src/tool/socialImageResizer/i18n/zh.ts +211 -0
- package/src/tool/socialImageResizer/index.ts +16 -8
- package/src/tool/socialValueCalculator/i18n/de.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/es.ts +1 -1
- package/src/tool/socialValueCalculator/i18n/fr.ts +1 -1
- package/src/tool/socialValueCalculator/i18n/id.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/it.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/ja.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/ko.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/nl.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/pl.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/pt.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/ru.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/sv.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/tr.ts +306 -0
- package/src/tool/socialValueCalculator/i18n/zh.ts +306 -0
- package/src/tool/socialValueCalculator/index.ts +17 -9
- package/src/tool/tinderPhotoOptimizer/i18n/de.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/id.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/it.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/ja.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/ko.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/nl.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/pl.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/pt.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/ru.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/sv.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/tr.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/i18n/zh.ts +272 -0
- package/src/tool/tinderPhotoOptimizer/index.ts +17 -9
- package/src/tool/youtubeThumbnail/i18n/de.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/id.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/it.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/ja.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/ko.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/nl.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/pl.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/pt.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/ru.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/sv.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/tr.ts +207 -0
- package/src/tool/youtubeThumbnail/i18n/zh.ts +207 -0
- package/src/tool/youtubeThumbnail/index.ts +17 -9
- package/src/tool/youtubeThumbnailPreviewer/i18n/de.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/en.ts +1 -1
- package/src/tool/youtubeThumbnailPreviewer/i18n/es.ts +1 -1
- package/src/tool/youtubeThumbnailPreviewer/i18n/fr.ts +2 -2
- package/src/tool/youtubeThumbnailPreviewer/i18n/id.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/it.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/ja.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/ko.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/nl.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/pl.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/pt.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/ru.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/sv.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/tr.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/i18n/zh.ts +321 -0
- package/src/tool/youtubeThumbnailPreviewer/index.ts +24 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { describe, it } from 'vitest';
|
|
2
|
+
import fs from 'node:fs';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
|
|
5
|
+
function getFiles(dir: string, ext: string[]): string[] {
|
|
6
|
+
const results: string[] = [];
|
|
7
|
+
if (!fs.existsSync(dir)) return results;
|
|
8
|
+
const list = fs.readdirSync(dir);
|
|
9
|
+
for (const file of list) {
|
|
10
|
+
const fullPath = path.join(dir, file);
|
|
11
|
+
const stat = fs.statSync(fullPath);
|
|
12
|
+
if (stat && stat.isDirectory()) {
|
|
13
|
+
results.push(...getFiles(fullPath, ext));
|
|
14
|
+
} else if (ext.some((e) => file.endsWith(e))) {
|
|
15
|
+
results.push(fullPath);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return results;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const SRC_DIR = path.join(process.cwd(), 'src');
|
|
22
|
+
|
|
23
|
+
describe('Project Titles - Separator Validation', () => {
|
|
24
|
+
const files = [
|
|
25
|
+
...getFiles(path.join(SRC_DIR, 'tool'), ['.ts']),
|
|
26
|
+
...getFiles(path.join(SRC_DIR, 'category'), ['.ts']),
|
|
27
|
+
].filter(f => f.includes('i18n'));
|
|
28
|
+
|
|
29
|
+
it.each(files)('Verify that titles in %s do not contain | or -', (filePath) => {
|
|
30
|
+
const content = fs.readFileSync(filePath, 'utf-8');
|
|
31
|
+
const relativePath = path.relative(process.cwd(), filePath);
|
|
32
|
+
|
|
33
|
+
const titlePatterns = [
|
|
34
|
+
/const\s+title\s*=\s*['"]([^'"]+)['"]/g,
|
|
35
|
+
/title\s*:\s*['"]([^'"]+)['"]/g,
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
const findings: string[] = [];
|
|
39
|
+
|
|
40
|
+
for (const pattern of titlePatterns) {
|
|
41
|
+
let match;
|
|
42
|
+
while ((match = pattern.exec(content)) !== null) {
|
|
43
|
+
const title = match[1];
|
|
44
|
+
if (title.includes('|') || title.includes('-')) {
|
|
45
|
+
findings.push(title);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (findings.length > 0) {
|
|
51
|
+
const list = findings.map((f) => ` - "${f}"`).join('\n');
|
|
52
|
+
throw new Error(`Forbidden separators (| or -) found in titles in ${relativePath}:\n${list}`);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { RedditFormatterUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'reddit-text-formatierer';
|
|
6
|
+
const title = 'Reddit Text Formatierer: Bereinigung und Markdown Fixer';
|
|
7
|
+
const description =
|
|
8
|
+
'Fortgeschrittener Text-Cleaner für Posts auf Reddit. Korrigiert fehlende Zeilenumbrüche, entfernt mehrfache Leerzeichen und versteckte Zeichen, die Markdown stören.';
|
|
9
|
+
|
|
10
|
+
const faqData = [
|
|
11
|
+
{
|
|
12
|
+
question: 'Warum verliert mein Text auf Reddit seine Zeilenumbrüche?',
|
|
13
|
+
answer:
|
|
14
|
+
'Reddit verwendet Markdown. Das bedeutet, dass Sie am Ende einer Zeile zwei Leerzeichen eingeben müssen, bevor Sie die Eingabetaste für einen normalen Zeilenumbruch drücken, oder die Eingabetaste zweimal drücken müssen, um einen neuen Absatz zu erstellen. Unser Tool erledigt das automatisch, indem es doppelte Zeilenumbrüche einfügt.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
question: 'Was sind versteckte oder unsichtbare Zeichen?',
|
|
18
|
+
answer:
|
|
19
|
+
'Beim Kopieren aus komplexen Textverarbeitungsprogrammen werden oft Formatierungshilfen mit einer Breite von Null angehängt. Diese Zeichen sind auf normalen Webseiten unsichtbar, können aber das Markdown-Ökosystem stören.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
question: 'Ist die Verwendung dieses Text-Cleaners sicher?',
|
|
23
|
+
answer:
|
|
24
|
+
'Völlig sicher. Das Skript läuft vollständig clientseitig (in Ihrem eigenen Browser). Ihr Text wird niemals an einen Server gesendet, und niemand sonst hat jemals Zugriff auf das, was Sie hier einfügen.',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
question: 'Kann ich das auch für Twitter oder andere Netzwerke verwenden?',
|
|
28
|
+
answer:
|
|
29
|
+
'Ja, neben der Korrektur von Reddit-Posts ist das Entfernen von mehrfachen Leerzeichen und seltsamen Zeichen nützlich für jede Veröffentlichung in Blogs, auf Twitter, in alten phpBB-Foren oder auf jeder anderen sozialen Plattform, auf der Sie sauberen, neutralen Text benötigen.',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
const howToData = [
|
|
34
|
+
{
|
|
35
|
+
name: 'Text einfügen',
|
|
36
|
+
text: 'Kopieren Sie Ihren Text aus Word, Google Docs oder einer anderen Quelle und fügen Sie ihn in das Eingabefeld ein.',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Optionen wählen',
|
|
40
|
+
text: 'Schalten Sie die Optionen je nach Bedarf ein oder aus: Absätze korrigieren, Leerzeichen entfernen oder versteckte Zeichen bereinigen.',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'Ergebnis prüfen',
|
|
44
|
+
text: 'Der bereinigte Text erscheint in Echtzeit im Ausgabefeld und ist bereit zur Veröffentlichung.',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Kopieren und posten',
|
|
48
|
+
text: 'Klicken Sie auf "Text kopieren" und fügen Sie ihn direkt in Reddit oder ein beliebiges Forum ein.',
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
53
|
+
'@context': 'https://schema.org',
|
|
54
|
+
'@type': 'FAQPage',
|
|
55
|
+
mainEntity: faqData.map((item) => ({
|
|
56
|
+
'@type': 'Question',
|
|
57
|
+
name: item.question,
|
|
58
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
59
|
+
})),
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const howToSchema: WithContext<HowToThing> = {
|
|
63
|
+
'@context': 'https://schema.org',
|
|
64
|
+
'@type': 'HowTo',
|
|
65
|
+
name: title,
|
|
66
|
+
description,
|
|
67
|
+
step: howToData.map((step, i) => ({
|
|
68
|
+
'@type': 'HowToStep',
|
|
69
|
+
position: i + 1,
|
|
70
|
+
name: step.name,
|
|
71
|
+
text: step.text,
|
|
72
|
+
})),
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
76
|
+
'@context': 'https://schema.org',
|
|
77
|
+
'@type': 'SoftwareApplication',
|
|
78
|
+
name: title,
|
|
79
|
+
description,
|
|
80
|
+
applicationCategory: 'UtilityApplication',
|
|
81
|
+
operatingSystem: 'All',
|
|
82
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
83
|
+
inLanguage: 'de',
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export const content: ToolLocaleContent<RedditFormatterUI> = {
|
|
87
|
+
slug,
|
|
88
|
+
title,
|
|
89
|
+
description,
|
|
90
|
+
faqTitle: 'Häufig gestellte Fragen',
|
|
91
|
+
faq: faqData,
|
|
92
|
+
bibliographyTitle: 'Referenzen',
|
|
93
|
+
bibliography: [
|
|
94
|
+
{
|
|
95
|
+
name: 'Reddit Hilfe: Text in Beiträgen und Kommentaren formatieren',
|
|
96
|
+
url: 'https://support.reddithelp.com/hc/en-us/articles/360043033952-Formatting-text-in-posts-and-comments',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'Reddit Markdown Leitfaden',
|
|
100
|
+
url: 'https://www.reddit.com/wiki/markdown/',
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
howTo: howToData,
|
|
104
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
105
|
+
seo: [
|
|
106
|
+
{
|
|
107
|
+
type: 'title',
|
|
108
|
+
text: 'Das ultimative Formatierungs-Tool für Reddit und Webforen',
|
|
109
|
+
level: 2,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'paragraph',
|
|
113
|
+
html: 'Beiträge auf Reddit oder einer anderen Plattform zu erstellen, die auf Markdown setzt, kann frustrierend sein. Ein häufiges Problem beim Kopieren und Einfügen von Text aus komplexen Textverarbeitungsprogrammen oder Webseiten ist, dass Zeilenumbrüche verändert werden. Wenn Sie den Inhalt absenden, wird er oft zu einem soliden, schwer lesbaren Block, der die ursprüngliche Absatzstruktur ignoriert. Unser Formatierungs-Tool löst dieses Problem an der Wurzel.',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: 'title',
|
|
117
|
+
text: 'So funktioniert der Reddit Text Cleaner',
|
|
118
|
+
level: 3,
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'paragraph',
|
|
122
|
+
html: 'Die Verarbeitungs-Engine wendet in Echtzeit mehrere Filter auf Ihren Text an. Zuerst kümmert sie sich um Zeilenumbrüche. Reddit erfordert ein spezielles Format, bei dem ein Absatzumbruch zwei neue Zeilen im Markdown-Quellcode benötigt. Der Cleaner analysiert Ihren Text und wandelt einzelne Zeilenumbrüche automatisch in doppelte Umbrüche um, wobei bestehende Absätze intakt bleiben, um übermäßige Abstände zu vermeiden.',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
type: 'paragraph',
|
|
126
|
+
html: 'Zweitens entfernt das Tool unsichtbare Zeichen und mehrfache Leerzeichen. Beim Kopieren von Text von Webseiten ist es üblich, Zeichen mit einer Breite von Null mitzuziehen, die die Formatierung stören oder seltsames Verhalten in Foren verursachen. Der Cleaner entfernt diese störenden Web-Elemente und normalisiert wiederholte Leerzeichen zu einem einzigen sauberen Leerzeichen. Optional können Sie alle rohen Hyperlinks aus Ihrem Inhalt entfernen, um einen völlig neutralen Text zu posten.',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
type: 'title',
|
|
130
|
+
text: 'Vorteile der Verwendung eines spezialisierten Text-Cleaners',
|
|
131
|
+
level: 3,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: 'list',
|
|
135
|
+
items: [
|
|
136
|
+
'<strong>Optimierte Lesbarkeit:</strong> Stellt sicher, dass Ihre Leser auf Reddit properly strukturierten Text sehen anstatt einer einschüchternden Textwand.',
|
|
137
|
+
'<strong>Zeitersparnis:</strong> Vergessen Sie das hunderte Male Drücken der Eingabetaste, um eine fehlerhafte Formatierung zu korrigieren. Fügen Sie Ihren Inhalt ein und kopieren Sie ihn in weniger als einer Sekunde bereit.',
|
|
138
|
+
'<strong>Entfernung von Metadaten und Web-Müll:</strong> Schützt Ihren Post vor seltsamen Stilen oder Brüchen, die durch Nullbreiten-Leerzeichen verursacht werden.',
|
|
139
|
+
'<strong>Hoher Datenschutz:</strong> Alle Verarbeitungen finden clientseitig statt. Der Text verlässt niemals Ihren Browser und wird nicht auf externen Servern gespeichert.',
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'title',
|
|
144
|
+
text: 'Das Problem mit Textverarbeitungsprogrammen und Reddit',
|
|
145
|
+
level: 3,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: 'paragraph',
|
|
149
|
+
html: 'Anwendungen wie Microsoft Word oder Google Docs fügen ihrem Text eine unsichtbare Ebene mit Rich-Formatting hinzu. Wenn Sie diesen Inhalt direkt in den Basis-Editor oder den Markdown-Modus von Reddit kopieren, verschwindet die Rich-Formatierung und was übrig bleibt, ist oft ein strukturloses Amalgam. Reddit verwendet eine ziemlich strikte Markdown-Variante. Wenn Sie mit der Syntax von Reddit nicht vertraut sind oder einfach einen reibungsloseren Ablauf beim Übertragen von Aufsätzen oder Geschichten in das Forum wünschen, verhindert das vorherige Bereinigen des Textes hier, dass Ihr Post Downvotes erhält, nur weil er unmöglich bequem zu lesen ist.',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: 'title',
|
|
153
|
+
text: 'Best Practices für das Posten in Foren',
|
|
154
|
+
level: 3,
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'paragraph',
|
|
158
|
+
html: 'Die richtige Formatierung ist entscheidend, um Diskussionen anzuregen und die Aufmerksamkeit der Community zu halten. Posts mit sehr langen Zeilen oder nicht vorhandenen Absätzen werden oft nach den ersten Sätzen abgebrochen. Verwenden Sie dieses Reinigungs-Tool, um die strukturellen Grundlagen zu legen. Fügen Sie dann Formatierungen wie Fett- und Kursivdruck strategisch im Reddit-Editor selbst hinzu, um Schlüsselideen hervorzuheben. Überprüfen Sie immer die Vorschau und nutzen Sie strukturierte Listen, um wichtige Punkte oder detaillierte Anleitungen aufzuführen.',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: 'title',
|
|
162
|
+
text: 'Transformationsbeispiel',
|
|
163
|
+
level: 3,
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
type: 'tip',
|
|
167
|
+
title: 'Vorher und nachher mit dem Formatierer',
|
|
168
|
+
html: '<p><strong>Ursprünglich eingefügter Text:</strong></p><pre>Hallo, das ist die erste Zeile\nund das hier sollte eigentlich die zweite sein\naber auf Reddit läuft alles zusammen, wenn man es einfügt.</pre><p><strong>Formatierter Text:</strong></p><pre>Hallo, das ist die erste Zeile\n\nund das hier sollte eigentlich die zweite sein\n\naber auf Reddit läuft alles zusammen, wenn man es einfügt.</pre>',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
type: 'title',
|
|
172
|
+
text: 'Häufig gestellte Fragen zum Reddit Text Formatierer',
|
|
173
|
+
level: 3,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: 'paragraph',
|
|
177
|
+
html: 'Die richtigen Antworten darauf zu finden, wie man mit den Redaktionsregeln von Reddit interagiert, ist nicht immer offensichtlich. Schauen Sie in den FAQ-Bereich, wo wir die wichtigsten Fragen zu gültigen Formaten und zur Vermeidung von massiven Textwänden beantworten.',
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
ui: {
|
|
181
|
+
labelInput: 'Originaltext',
|
|
182
|
+
placeholderInput: 'Fügen Sie hier Ihren Originaltext ein...',
|
|
183
|
+
labelOptions: 'Formatierungsoptionen',
|
|
184
|
+
optionParagraphs: 'Reddit-Absätze korrigieren',
|
|
185
|
+
optionSpaces: 'Mehrfache Leerzeichen entfernen',
|
|
186
|
+
optionInvisible: 'Versteckte Web-Zeichen bereinigen',
|
|
187
|
+
optionLinks: 'URLs extrahieren (nur Text)',
|
|
188
|
+
labelOutput: 'Bereinigter Text',
|
|
189
|
+
placeholderOutput: 'Das Ergebnis der Bereinigung erscheint hier...',
|
|
190
|
+
btnCopy: 'Text kopieren',
|
|
191
|
+
btnCopied: 'Kopiert',
|
|
192
|
+
},
|
|
193
|
+
};
|
|
@@ -3,7 +3,7 @@ import type { ToolLocaleContent } from '../../../types';
|
|
|
3
3
|
import type { RedditFormatterUI } from '../ui';
|
|
4
4
|
|
|
5
5
|
const slug = 'reddit-text-formatter';
|
|
6
|
-
const title = 'Reddit Text Formatter
|
|
6
|
+
const title = 'Reddit Text Formatter: Cleaner and Markdown Fixer';
|
|
7
7
|
const description =
|
|
8
8
|
'Advanced text cleaner for posting on Reddit. Fixes missing line breaks, removes multiple spaces and hidden characters that break Markdown.';
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import type { ToolLocaleContent } from '../../../types';
|
|
|
3
3
|
import type { RedditFormatterUI } from '../ui';
|
|
4
4
|
|
|
5
5
|
const slug = 'formateador-reddit';
|
|
6
|
-
const title = 'Formateador Reddit
|
|
6
|
+
const title = 'Formateador Reddit: Limpiador y Adaptador de Texto';
|
|
7
7
|
const description =
|
|
8
8
|
'Limpiador avanzado de texto para publicar en Reddit. Arregla los saltos de línea perdidos, elimina espacios múltiples y caracteres ocultos que rompen el Markdown.';
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import type { ToolLocaleContent } from '../../../types';
|
|
|
3
3
|
import type { RedditFormatterUI } from '../ui';
|
|
4
4
|
|
|
5
5
|
const slug = 'formateur-reddit';
|
|
6
|
-
const title = "Formateur Reddit
|
|
6
|
+
const title = "Formateur Reddit : Nettoyeur et Adaptateur de Texte";
|
|
7
7
|
const description =
|
|
8
8
|
"Nettoyeur avancé de texte pour publier sur Reddit. Corrige les sauts de ligne manquants, supprime les espaces multiples et les caractères cachés qui cassent le Markdown.";
|
|
9
9
|
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { RedditFormatterUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'pemformat-teks-reddit';
|
|
6
|
+
const title = 'Pemformat Teks Reddit: Pembersih dan Perbaikan Markdown';
|
|
7
|
+
const description =
|
|
8
|
+
'Pembersih teks canggih untuk posting di Reddit. Memperbaiki jeda baris yang hilang, menghapus spasi ganda dan karakter tersembunyi yang merusak Markdown.';
|
|
9
|
+
|
|
10
|
+
const faqData = [
|
|
11
|
+
{
|
|
12
|
+
question: 'Mengapa teks saya di Reddit kehilangan jeda barisnya?',
|
|
13
|
+
answer:
|
|
14
|
+
'Reddit menggunakan Markdown, yang mengharuskan Anda menekan spasi ganda di akhir baris sebelum menekan Enter untuk jeda baris normal, atau menekan Enter dua kali untuk membuat paragraf baru. Alat kami menangani ini secara otomatis dengan memasukkan jeda baris ganda.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
question: 'Apa itu karakter tersembunyi atau tidak terlihat?',
|
|
18
|
+
answer:
|
|
19
|
+
'Saat menyalin dari pengolah kata yang kompleks, penanda pemformatan dengan lebar nol sering kali ikut terbawa. Elemen-elemen ini tidak terlihat pada halaman web normal tetapi dapat merusak ekosistem Markdown.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
question: 'Apakah aman menggunakan pembersih teks ini?',
|
|
23
|
+
answer:
|
|
24
|
+
'Sangat aman. Skrip berjalan sepenuhnya di sisi klien (di browser Anda sendiri). Teks Anda tidak pernah dikirim ke server mana pun dan tidak ada orang lain yang akan memiliki akses ke apa yang Anda tempel di sini.',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
question: 'Dapatkah saya menggunakan ini untuk Twitter atau jejaring lainnya?',
|
|
28
|
+
answer:
|
|
29
|
+
'Ya, selain memperbaiki postingan Reddit, menghapus spasi ganda dan karakter aneh berguna untuk publikasi apa pun di blog, Twitter, forum phpBB lama atau platform sosial lainnya di mana Anda memerlukan teks yang bersih dan netral.',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
const howToData = [
|
|
34
|
+
{
|
|
35
|
+
name: 'Tempel teks Anda',
|
|
36
|
+
text: 'Salin teks Anda dari Word, Google Docs atau sumber mana pun dan tempelkan ke kolom input.',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Pilih opsi',
|
|
40
|
+
text: 'Aktifkan atau nonaktifkan opsi tergantung pada apa yang Anda butuhkan: perbaiki paragraf, hapus spasi, atau bersihkan karakter tersembunyi.',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'Tinjau hasilnya',
|
|
44
|
+
text: 'Teks bersih muncul secara real time di kolom output, siap untuk dipublikasikan.',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Salin dan posting',
|
|
48
|
+
text: 'Klik "Salin Teks" dan tempelkan langsung ke Reddit atau forum apa pun.',
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
53
|
+
'@context': 'https://schema.org',
|
|
54
|
+
'@type': 'FAQPage',
|
|
55
|
+
mainEntity: faqData.map((item) => ({
|
|
56
|
+
'@type': 'Question',
|
|
57
|
+
name: item.question,
|
|
58
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
59
|
+
})),
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const howToSchema: WithContext<HowToThing> = {
|
|
63
|
+
'@context': 'https://schema.org',
|
|
64
|
+
'@type': 'HowTo',
|
|
65
|
+
name: title,
|
|
66
|
+
description,
|
|
67
|
+
step: howToData.map((step, i) => ({
|
|
68
|
+
'@type': 'HowToStep',
|
|
69
|
+
position: i + 1,
|
|
70
|
+
name: step.name,
|
|
71
|
+
text: step.text,
|
|
72
|
+
})),
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
76
|
+
'@context': 'https://schema.org',
|
|
77
|
+
'@type': 'SoftwareApplication',
|
|
78
|
+
name: title,
|
|
79
|
+
description,
|
|
80
|
+
applicationCategory: 'UtilityApplication',
|
|
81
|
+
operatingSystem: 'All',
|
|
82
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'IDR' },
|
|
83
|
+
inLanguage: 'id',
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export const content: ToolLocaleContent<RedditFormatterUI> = {
|
|
87
|
+
slug,
|
|
88
|
+
title,
|
|
89
|
+
description,
|
|
90
|
+
faqTitle: 'Pertanyaan yang Sering Diajukan',
|
|
91
|
+
faq: faqData,
|
|
92
|
+
bibliographyTitle: 'Referensi',
|
|
93
|
+
bibliography: [
|
|
94
|
+
{
|
|
95
|
+
name: 'Bantuan Reddit: Memformat teks dalam postingan dan komentar',
|
|
96
|
+
url: 'https://support.reddithelp.com/hc/en-us/articles/360043033952-Formatting-text-in-posts-and-comments',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'Panduan Markdown Reddit',
|
|
100
|
+
url: 'https://www.reddit.com/wiki/markdown/',
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
howTo: howToData,
|
|
104
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
105
|
+
seo: [
|
|
106
|
+
{
|
|
107
|
+
type: 'title',
|
|
108
|
+
text: 'Alat Pemformatan Utama untuk Reddit dan Forum Web',
|
|
109
|
+
level: 2,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'paragraph',
|
|
113
|
+
html: 'Membuat postingan di Reddit atau platform mana pun yang bergantung pada Markdown bisa membuat frustrasi. Masalah umum saat menyalin dan menempel teks dari pengolah kata yang kompleks atau halaman web adalah jeda baris yang berubah. Saat Anda mengirimkan konten, konten tersebut sering kali menjadi blok padat yang sulit dibaca, mengabaikan struktur paragraf aslinya. Alat pemformatan kami menyelesaikan masalah ini dari akarnya.',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: 'title',
|
|
117
|
+
text: 'Cara Kerja Pembersih Teks Reddit',
|
|
118
|
+
level: 3,
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'paragraph',
|
|
122
|
+
html: 'Mesin pemroses menjalankan beberapa filter pada teks Anda secara real time. Pertama, ia menangani jeda baris. Reddit membutuhkan format khusus di mana jeda paragraf membutuhkan dua baris baru dalam kode sumber Markdown. Pembersih menganalisis teks Anda dan secara otomatis mengubah jeda baris tunggal menjadi jeda ganda, menjaga paragraf yang ada tetap utuh untuk menghindari pembuatan spasi yang berlebihan.',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
type: 'paragraph',
|
|
126
|
+
html: 'Kedua, alat ini menghapus karakter yang tidak terlihat dan spasi ganda. Saat menyalin teks dari situs web, karakter dengan lebar nol baisanya ikut terbawa yang merusak pemformatan atau menyebabkan perilaku aneh di forum. Pembersih membersihkan elemen web yang mengganggu ini dan menormalkan spasi berulang menjadi satu spasi bersih. Secara opsional, Anda dapat menghapus semua hyperlink mentah dari konten Anda untuk memposting teks yang sepenuhnya netral.',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
type: 'title',
|
|
130
|
+
text: 'Manfaat Menggunakan Pembersih Teks Khusus',
|
|
131
|
+
level: 3,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: 'list',
|
|
135
|
+
items: [
|
|
136
|
+
'<strong>Keterbacaan yang Dioptimalkan:</strong> Memastikan pembaca Anda di Reddit melihat teks yang terstruktur dengan baik, bukan dinding kata-kata yang mengintimidasi.',
|
|
137
|
+
'<strong>Hemat Waktu:</strong> Lupakan menekan Enter ratusan kali untuk memperbaiki pemformatan yang rusak. Tempel konten Anda dan salin hasilnya dalam waktu kurang dari satu detik.',
|
|
138
|
+
'<strong>Penghapusan Metadata dan Sampah Web:</strong> Melindungi postingan Anda dari gaya atau jeda aneh yang disebabkan oleh spasi lebar nol.',
|
|
139
|
+
'<strong>Privasi Tinggi:</strong> Semua pemrosesan dilakukan di sisi klien. Teks tidak pernah meninggalkan browser Anda atau disimpan di server eksternal.',
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'title',
|
|
144
|
+
text: 'Masalah dengan Pengolah Kata dan Reddit',
|
|
145
|
+
level: 3,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: 'paragraph',
|
|
149
|
+
html: 'Aplikasi seperti Microsoft Word atau Google Docs menambahkan lapisan pemformatan kaya yang tidak terlihat pada teks mereka. Saat Anda menyalin dan menempelkan konten tersebut secara langsung ke editor dasar atau mode Markdown Reddit, pemformatan kaya tersebut menghilang dan yang tersisa sering kali merupakan amalgam tanpa struktur. Reddit menggunakan varian Markdown yang cukup ketat. Jika Anda tidak terbiasa dengan sintaksis Reddit atau hanya menginginkan proses yang lebih lancar saat mentransfer esai atau cerita ke forum, membersihkan teks di sini terlebih dahulu mencegah postingan Anda menerima downvote hanya karena tidak mungkin dibaca dengan nyaman.',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: 'title',
|
|
153
|
+
text: 'Praktik Terbaik untuk Posting di Forum',
|
|
154
|
+
level: 3,
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'paragraph',
|
|
158
|
+
html: 'Pemformatan yang benar sangat penting untuk menghasilkan diskusi dan mempertahankan perhatian komunitas. Postingan dengan baris yang sangat panjang atau paragraf yang tidak ada sering kali ditinggalkan setelah beberapa kalimat pertama. Gunakan alat pembersih ini untuk membangun fondasi struktural. Kemudian, tambahkan pemformatan seperti tebal dan miring secara strategis di dalam editor Reddit itu sendiri untuk menyoroti ide-ide kunci. Selalu tinjau pratinjau dan manfaatkan daftar terstruktur untuk merinci poin-pon penting atau panduan mendetail.',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: 'title',
|
|
162
|
+
text: 'Contoh Transformasi',
|
|
163
|
+
level: 3,
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
type: 'tip',
|
|
167
|
+
title: 'Sebelum dan sesudah pemformat',
|
|
168
|
+
html: '<p><strong>Teks asli yang ditempel:</strong></p><pre>Halo ini baris pertama\ndan ini seharusnya menjadi baris kedua\ntapi di Reddit semuanya menyatu saat Anda menempelnya.</pre><p><strong>Teks yang diformat:</strong></p><pre>Halo ini baris pertama\n\ndan ini seharusnya menjadi baris kedua\n\ntapi di Reddit semuanya menyatu saat Anda menempelnya.</pre>',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
type: 'title',
|
|
172
|
+
text: 'Pertanyaan yang Sering Diajukan tentang Pemformat Teks Reddit',
|
|
173
|
+
level: 3,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: 'paragraph',
|
|
177
|
+
html: 'Menemukan jawaban yang tepat tentang cara berinteraksi dengan aturan editorial Reddit tidak selalu jelas. Periksa bagian FAQ di mana kami membahas pertanyaan utama tentang format yang valid dan cara menghindari penalti karena dinding teks yang masif.',
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
ui: {
|
|
181
|
+
labelInput: 'Teks Asli',
|
|
182
|
+
placeholderInput: 'Tempel teks asli Anda di sini...',
|
|
183
|
+
labelOptions: 'Opsi Pemformatan',
|
|
184
|
+
optionParagraphs: 'Perbaiki Paragraf gaya Reddit',
|
|
185
|
+
optionSpaces: 'Hapus spasi ganda',
|
|
186
|
+
optionInvisible: 'Bersihkan karakter web tersembunyi',
|
|
187
|
+
optionLinks: 'Ekstrak URL (Hanya teks)',
|
|
188
|
+
labelOutput: 'Teks Bersih',
|
|
189
|
+
placeholderOutput: 'Hasil pembersihan akan muncul di sini...',
|
|
190
|
+
btnCopy: 'Salin Teks',
|
|
191
|
+
btnCopied: 'Disalin',
|
|
192
|
+
},
|
|
193
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { RedditFormatterUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'formattatore-testo-reddit';
|
|
6
|
+
const title = 'Formattatore Testo Reddit: Pulizia e Correzione Markdown';
|
|
7
|
+
const description =
|
|
8
|
+
'Pulitore di testo avanzato per pubblicare su Reddit. Corregge le interruzioni di riga mancanti, rimuove spazi multipli e caratteri nascosti che interrompono il Markdown.';
|
|
9
|
+
|
|
10
|
+
const faqData = [
|
|
11
|
+
{
|
|
12
|
+
question: 'Perché il mio testo su Reddit perde le interruzioni di riga?',
|
|
13
|
+
answer:
|
|
14
|
+
'Reddit utilizza Markdown, che richiede di premere il doppio spazio alla fine di una riga prima di premere Invio per un normale a capo, oppure di premere Invio due volte per creare un nuovo paragrafo. Il nostro strumento gestisce tutto questo automaticamente inserendo doppie interruzioni di riga.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
question: 'Cosa sono i caratteri nascosti o invisibili?',
|
|
18
|
+
answer:
|
|
19
|
+
'Quando si copia da elaboratori di testi complessi, spesso vengono allegati marcatori di formattazione a larghezza zero. Questi elementi sono invisibili sulle normali pagine web ma possono interrompere l\'ecosistema Markdown.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
question: 'È sicuro usare questo pulitore di testo?',
|
|
23
|
+
answer:
|
|
24
|
+
'Completamente sicuro. Lo script viene eseguito interamente sul lato client (nel browser). Il testo non viene mai inviato a nessun server e nessun altro avrà mai accesso a ciò che incollate qui.',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
question: 'Posso usarlo per Twitter o altri social?',
|
|
28
|
+
answer:
|
|
29
|
+
'Sì, oltre a correggere i post di Reddit, la rimozione di spazi multipli e caratteri strani è utile per qualsiasi pubblicazione su blog, Twitter, vecchi forum phpBB o qualsiasi altra piattaforma social dove sia necessario un testo pulito e neutro.',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
const howToData = [
|
|
34
|
+
{
|
|
35
|
+
name: 'Incolla il tuo testo',
|
|
36
|
+
text: 'Copia il tuo testo da Word, Google Docs o qualsiasi altra fonte e incollalo nel campo di input.',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Scegli le opzioni',
|
|
40
|
+
text: 'Attiva o disattiva le opzioni a seconda delle tue necessità: correggi i paragrafi, rimuovi gli spazi o pulisci i caratteri nascosti.',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'Controlla il risultato',
|
|
44
|
+
text: 'Il testo pulito appare in tempo reale nel campo di output, pronto per essere pubblicato.',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Copia e pubblica',
|
|
48
|
+
text: 'Clicca su "Copia Testo" e incollalo direttamente su Reddit o in qualsiasi forum.',
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
53
|
+
'@context': 'https://schema.org',
|
|
54
|
+
'@type': 'FAQPage',
|
|
55
|
+
mainEntity: faqData.map((item) => ({
|
|
56
|
+
'@type': 'Question',
|
|
57
|
+
name: item.question,
|
|
58
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
59
|
+
})),
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const howToSchema: WithContext<HowToThing> = {
|
|
63
|
+
'@context': 'https://schema.org',
|
|
64
|
+
'@type': 'HowTo',
|
|
65
|
+
name: title,
|
|
66
|
+
description,
|
|
67
|
+
step: howToData.map((step, i) => ({
|
|
68
|
+
'@type': 'HowToStep',
|
|
69
|
+
position: i + 1,
|
|
70
|
+
name: step.name,
|
|
71
|
+
text: step.text,
|
|
72
|
+
})),
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
76
|
+
'@context': 'https://schema.org',
|
|
77
|
+
'@type': 'SoftwareApplication',
|
|
78
|
+
name: title,
|
|
79
|
+
description,
|
|
80
|
+
applicationCategory: 'UtilityApplication',
|
|
81
|
+
operatingSystem: 'All',
|
|
82
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
83
|
+
inLanguage: 'it',
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export const content: ToolLocaleContent<RedditFormatterUI> = {
|
|
87
|
+
slug,
|
|
88
|
+
title,
|
|
89
|
+
description,
|
|
90
|
+
faqTitle: 'Domande Frequenti',
|
|
91
|
+
faq: faqData,
|
|
92
|
+
bibliographyTitle: 'Riferimenti',
|
|
93
|
+
bibliography: [
|
|
94
|
+
{
|
|
95
|
+
name: 'Aiuto di Reddit: Formattazione del testo nei post e nei commenti',
|
|
96
|
+
url: 'https://support.reddithelp.com/hc/en-us/articles/360043033952-Formatting-text-in-posts-and-comments',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'Guida al Markdown di Reddit',
|
|
100
|
+
url: 'https://www.reddit.com/wiki/markdown/',
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
howTo: howToData,
|
|
104
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
105
|
+
seo: [
|
|
106
|
+
{
|
|
107
|
+
type: 'title',
|
|
108
|
+
text: 'Lo strumento definitivo per la formattazione di Reddit e forum web',
|
|
109
|
+
level: 2,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'paragraph',
|
|
113
|
+
html: 'Creare post su Reddit o su qualsiasi piattaforma che si basi sul Markdown può essere frustrante. Un problema comune quando si copia e incolla testo da elaboratori di testi complessi o pagine web è che le interruzioni di riga vengono alterate. Quando si invia il contenuto, spesso diventa un blocco solido e difficile da leggere, ignorando la struttura originale dei paragrafi. Il nostro strumento di formattazione risolve questo problema alla radice.',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: 'title',
|
|
117
|
+
text: 'Come funziona il pulitore di testo di Reddit',
|
|
118
|
+
level: 3,
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'paragraph',
|
|
122
|
+
html: 'Il motore di elaborazione esegue diversi filtri sul testo in tempo reale. Innanzitutto, si occupa delle interruzioni di riga. Reddit richiede un formato specifico in cui un\'interruzione di paragrafo necessita di due nuove righe nel codice sorgente Markdown. Il pulitore analizza il testo e converte automaticamente le interruzioni di riga singole in interruzioni doppie, mantenendo intatti i paragrafi esistenti per evitare di generare spaziatura eccessiva.',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
type: 'paragraph',
|
|
126
|
+
html: 'In secondo luogo, lo strumento rimuove i caratteri invisibili e gli spazi multipli. Quando si copia testo dai siti web, è comune trascinare caratteri a larghezza zero che interrompono la formattazione o causano comportamenti strani nei forum. Il pulitore elimina questi elementi web intrusivi e normalizza gli spazi ripetuti in un unico spazio pulito. Facoltativamente, è possibile rimuovere tutti i collegamenti ipertestuali grezzi dal contenuto per pubblicare un testo completamente neutro.',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
type: 'title',
|
|
130
|
+
text: 'Vantaggi dell\'utilizzo di un pulitore di testo specializzato',
|
|
131
|
+
level: 3,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: 'list',
|
|
135
|
+
items: [
|
|
136
|
+
'<strong>Leggibilità ottimizzata:</strong> assicura che i lettori su Reddit vedano un testo correttamente strutturato invece di un intimidatorio muro di parole.',
|
|
137
|
+
'<strong>Risparmio di tempo:</strong> dimentica di premere Invio centinaia di volte per correggere la formattazione interrotta. Incolla il contenuto e copialo pronto in meno di un secondo.',
|
|
138
|
+
'<strong>Rimozione di metadati e spazzatura web:</strong> protegge il post da stili strani o interruzioni causate da spazi a larghezza zero.',
|
|
139
|
+
'<strong>Elevata privacy:</strong> tutta l\'elaborazione è lato client. Il testo non lascia mai il browser né viene memorizzato su server esterni.',
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'title',
|
|
144
|
+
text: 'Il problema con gli elaboratori di testi e Reddit',
|
|
145
|
+
level: 3,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: 'paragraph',
|
|
149
|
+
html: 'Applicazioni come Microsoft Word o Google Docs aggiungono uno strato invisibile di formattazione ricca al testo. Quando si copia e incolla quel contenuto direttamente nell\'editor di base o nella modalità Markdown di Reddit, la formattazione ricca scompare e ciò che rimane è spesso un amalgama senza struttura. Reddit utilizza una variante di Markdown piuttosto rigorosa. Se non si ha familiarità con la sintassi di Reddit o se si desidera semplicemente un processo più fluido nel trasferire saggi o storie sul forum, pulire prima il testo qui evita che il post riceva voti negativi semplicemente perché è impossibile da leggere comodamente.',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: 'title',
|
|
153
|
+
text: 'Migliori pratiche per la pubblicazione nei forum',
|
|
154
|
+
level: 3,
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'paragraph',
|
|
158
|
+
html: 'Una formattazione corretta è fondamentale per generare discussione e mantenere l\'attenzione della comunità. I post con righe molto lunghe o paragrafi inesistenti vengono spesso abbandonati dopo le prime frasi. Utilizzate questo strumento di pulizia per gettare le basi strutturali. Quindi, aggiungete formattazioni come il grassetto e il corsivo in modo strategico all\'interno dell\'editor di Reddit stesso per evidenziare le idee chiave. Controllate sempre l\'anteprima e approfittate degli elenchi strutturati per elencare punti importanti o guide dettagliate.',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: 'title',
|
|
162
|
+
text: 'Esempio di trasformazione',
|
|
163
|
+
level: 3,
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
type: 'tip',
|
|
167
|
+
title: 'Prima e dopo il formattatore',
|
|
168
|
+
html: '<p><strong>Testo originale incollato:</strong></p><pre>Ciao, questa è la prima riga\ne questa doveva essere la seconda\nma su Reddit tutto si unisce quando viene incollato.</pre><p><strong>Testo formattato:</strong></p><pre>Ciao, questa è la prima riga\n\ne questa doveva essere la seconda\n\nma su Reddit tutto si unisce quando viene incollato.</pre>',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
type: 'title',
|
|
172
|
+
text: 'Domande frequenti sul formattatore di testo di Reddit',
|
|
173
|
+
level: 3,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: 'paragraph',
|
|
177
|
+
html: 'Trovare le risposte giuste su come interagire con le regole editoriali di Reddit non è sempre ovvio. Controllate la sezione FAQ dove affrontiamo le principali domande sui formati validi e su come evitare di essere penalizzati per enormi muri di testo.',
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
ui: {
|
|
181
|
+
labelInput: 'Testo Originale',
|
|
182
|
+
placeholderInput: 'Incolla qui il tuo testo originale...',
|
|
183
|
+
labelOptions: 'Opzioni di Formattazione',
|
|
184
|
+
optionParagraphs: 'Correggi paragrafi in stile Reddit',
|
|
185
|
+
optionSpaces: 'Rimuovi spazi multipli',
|
|
186
|
+
optionInvisible: 'Pulisci caratteri web nascosti',
|
|
187
|
+
optionLinks: 'Estrai URL (solo testo)',
|
|
188
|
+
labelOutput: 'Testo Pulito',
|
|
189
|
+
placeholderOutput: 'Il risultato della pulizia apparirà qui...',
|
|
190
|
+
btnCopy: 'Copia Testo',
|
|
191
|
+
btnCopied: 'Copiato',
|
|
192
|
+
},
|
|
193
|
+
};
|