Skip to content

Cs 2300 data import - #1417

Open
AtomLaw wants to merge 40 commits into
sourcefabric:v4.4from
AtomLaw:cs-2300-data-import
Open

Cs 2300 data import#1417
AtomLaw wants to merge 40 commits into
sourcefabric:v4.4from
AtomLaw:cs-2300-data-import

Conversation

@AtomLaw

@AtomLaw AtomLaw commented Apr 12, 2026

Copy link
Copy Markdown

No description provided.

Martin Saturka and others added 30 commits April 13, 2011 20:16
* initial import api, plus some code on wordpress loading
…s WXR files

* it parses the wxr file; does not create the newsml yet
*newsml partially created, tested on wordpress wxr files
* works a cleaner way for the wp => newsml import
* an auxiliary script for fixing broken (on embedded cdata) wxr files
* mostly an initial server side processing
* hierarchical wp cats; working server side conversions
* wxr fixer put into the site directory
* adjusting the server site environment, cron works
* adjusting the server side environment
* config for server side adjustments, some docs
NewsML reader in Newscoop
* updates on subject storing; reading subjects from newsml files
* subject trees, qcodes, newsItem access methods
Fixing NewsML structure for the generated file to stick to NewsML specifications
Minor coding style changes
* updating the python script for wp dump fixing
* added an ico file for the converter web
* cleaned some classes for reading newsml files
* fixed some problems on (strange) wxr files
Martin Saturka and others added 10 commits June 13, 2011 16:39
* added recaptcha; some js-based checking; html put into separate files
* scripts for cron jobs shall be executable
* submit page redone by Fritz
* privacy policy checking
* update by Fritz on displaying the beta status
Key features implemented:
- Added comprehensive .gitignore covering various file types, dependencies, logs, editor files, OS files, build artifacts, package managers, testing files, compression files, and temporary files
- Created PHP_8.3_MODERNIZATION_GUIDE.md with detailed instructions for modernizing PHP code from 5.3 to 8.3 including breaking changes, deprecated functions, visibility modifiers, type declarations, strict types, namespaces, modern class syntax, error handling, and PHP 8+ features
- Implemented modernize_php.php script to identify and assist in modernizing common PHP 5.3 patterns to PHP 8.3 with patterns for ereg/eregi, split, create_function, var keyword, reference returns, and array syntax
- Updated README to acknowledge Qwen AI assistance and add reference to layout redesign and Laravel migration strategy document
- Modernized tools/cms_imports/incl/NewsMLCreator.php with strict types declaration, namespace, and updated class structure following modern PHP practices
- Updated Python scripts (wxrfixer.py, country_codes.py, geonames/geocities.py, geonames/take_cens.py) with type hints, improved error handling, and modern Python practices

The changes significantly improve the project's maintainability by establishing a clear modernization path from legacy PHP 5.3 code to contemporary PHP 8.3 standards, while also enhancing the development environment with proper ignore rules and documentation.
Update from task 371b6221-69b2-4674-99b5-442263c3b98a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants