Download the PHP package talan-hdf/semantic-suggestion without Composer
On this page you can find all versions of the php package talan-hdf/semantic-suggestion. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download talan-hdf/semantic-suggestion
More information about talan-hdf/semantic-suggestion
Files in talan-hdf/semantic-suggestion
Package semantic-suggestion
Short Description TYPO3 extension for suggesting semantically related pages
License GPL-2.0-or-later
Informations about the package semantic-suggestion
π§ TYPO3 Extension: Semantic Suggestion
Join Our Community on Slack
We have a dedicated Slack channel where you can ask questions, discuss new features, and provide feedback on the extension. Join us to stay updated and participate in the conversation!
We look forward to seeing you there and engaging with you!
Elevate your TYPO3 website with intelligent, content-driven recommendations
π Introduction
The Semantic Suggestion extension revolutionizes the way related content is presented on TYPO3 websites. Moving beyond traditional "more like this" functionalities based on categories and taxonomies, this extension employs advanced semantic analysis to create genuinely relevant content connections.
Key Benefits:
- π― Highly Relevant Links: Automatically generate connections based on actual content similarity, not just predefined categories.
- β±οΈ Increased User Engagement: Keep visitors on your site longer by offering truly related content.
- πΈοΈ Semantic Cocoon: Contribute to a high-quality semantic network within your website, enhancing SEO and user navigation.
- π€ Intelligent Automation: Reduce manual linking work while improving internal link quality.
Performance Consideration
While the Semantic Suggestion extension offers powerful capabilities, it's important to note:
- π The similarity calculation process scales exponentially with the number of pages.
- β³ For sites with over 500 pages, the initial calculation may take up to 30 seconds, depending on server capacity.
- π‘ We recommend using the backend module to assess the caching time for your specific setup.
- π The cache is automatically reset when a page or content is modified, ensuring up-to-date similarity calculations.
π Pro Tip: Utilize the backend module to monitor performance and optimize settings for your specific use case.
By leveraging the power of semantic analysis, this extension provides a superior alternative to traditional related content plugins, offering more accurate and valuable content suggestions to your users.
New in Version 1.4.0
Stopwords Support
The extension now includes stopwords functionality, significantly improving the accuracy of content analysis. Stopwords are common words (such as "the", "is", "at") that are filtered out before processing the content. This feature enhances the relevance of semantic suggestions by focusing on meaningful content.
Debug Mode
A new debug mode has been introduced, which can be activated via TypoScript:
bash composer require talan-hdf/semantic-suggestion typoscript plugin.tx_semanticsuggestion { settings { parentPageId = 1 proximityThreshold = 0.7 maxSuggestions = 3 excerptLength = 150 recursive = 1 excludePages = 8,9,3456 recencyWeight = 0.2
analyzedFields {
title = 1.5
description = 1.0
keywords = 2.0
abstract = 1.2
content = 1.0
}
}
}
finalSimilarity = (contentSimilarity (1 - recencyWeight)) + (recencyBoost recencyWeight) html
typoscript lib.semantic_suggestion = USER lib.semantic_suggestion { userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run extensionName = SemanticSuggestion pluginName = Suggestions vendorName = TalanHdf controller = Suggestions action = list } typoscript page.10 = < lib.semantic_suggestion typoscript tt_content.semantic_suggestion = COA tt_content.semantic_suggestion { 10 = < lib.semantic_suggestion } typoscript plugin.tx_semanticsuggestion { view { templateRootPaths.10 = EXT:your_extension/Resources/Private/Templates/ } }
semantic_suggestion/ βββ Classes/ β βββ Controller/ β β βββ SemanticBackendController.php β β βββ SuggestionsController.php β βββ Service/ β βββ PageAnalysisService.php βββ Configuration/ β βββ Backend/ β β βββ Modules.php β β βββ Routes.php β βββ TCA/ β β βββ Overrides/ β β βββ sys_template.php β β βββ tt_content.php β βββ TypoScript/ β β βββ constants.typoscript β β βββ setup.typoscript β βββ Services.yaml βββ Documentation/ β βββ Index.rst β βββ Installation/ β β βββ Index.rst β βββ Introduction/ β β βββ Index.rst β βββ Medias/ β βββ backend_module.png β βββ backend_module_performance_metrics.jpg β βββ frontend_on_the_same_theme_view.jpg βββ Resources/ β βββ Private/ β β βββ Language/ β β β βββ locallang.xlf β β β βββ locallang_be.xlf β β β βββ locallang_mod.xlf β β β βββ locallang_semanticproximity.xlf β β βββ Layouts/ β β β βββ Default.html β β βββ Templates/ β β βββ SemanticBackend/ β β β βββ Index.html β β β βββ List.html β β βββ Suggestions/ β β βββ List.html β βββ Public/ β βββ Css/ β β βββ SemanticSuggestion.css β βββ Icons/ β βββ Extension.svg β βββ module-semantic-suggestion.svg β βββ user_mod_semanticproximity.svg βββ Tests/ β βββ Fixtures/ β β βββ pages.xml β βββ Integration/ β β βββ Service/ β β βββ PageAnalysisServiceIntegrationTest.php β βββ Unit/ β βββ Service/ β βββ PageAnalysisServiceTest.php βββ .env βββ .gitignore βββ CHANGELOG.md βββ IMPROVEMENTS.MD βββ LICENSE βββ README.md βββ ROADMAP_TO_STABLE.md βββ composer.json βββ ext_conf_template.txt βββ ext_emconf.php βββ ext_localconf.php βββ ext_tables.php βββ phpunit.xml.dist bash ddev exec vendor/bin/phpunit -c packages/semantic_suggestion/phpunit.xml.dist --testdox --colors=always bash ddev exec vendor/bin/phpunit -c packages/semantic_suggestion/phpunit.xml.dist --filter testMethodName bash ddev exec vendor/bin/phpunit -c packages/semantic_suggestion/phpunit.xml.dist --testdox --colors=always --filter PageAnalysisServiceTest bash ddev exec vendor/bin/phpunit -c packages/semantic_suggestion/phpunit.xml.dist --testdox --colors=always --filter "PageAnalysisServiceTest::testGetWeightedWordsReturnsCorrectWeights" bash ddev exec vendor/bin/phpunit -c packages/semantic_suggestion/phpunit.xml.dist --testdox --colors=always --filter "/::test.*Similarity/" bash ddev exec vendor/bin/phpunit -c packages/semantic_suggestion/phpunit.xml.dist --testdox --colors=always --filter PageAnalysisServiceTest --coverage-text bash ddev exec vendor/bin/phpunit -c packages/semantic_suggestion/phpunit.xml.dist --testdox --colors=always --filter PageAnalysisServiceTest -v
### Interpreting Results
- β
Green checkmarks: Passed tests
- β Red crosses: Failed tests
- β οΈ Yellow exclamation marks: Risky or incomplete tests
Detailed output helps quickly identify and address any issues.
> π‘ **Tip**: Regular test execution is recommended, especially after code changes, to ensure continued functionality and catch regressions early.
## π€ Contributing
We welcome contributions to the Semantic Suggestion extension! Here's how you can contribute:
1. π΄ Fork the repository
2. πΏ Create a new branch for your feature or bug fix
3. π οΈ Make your changes and commit them with clear messages
4. π Push your changes to your fork
5. π¬ Submit a pull request to the main repository
Please adhere to existing coding standards and include appropriate tests for your changes.
## π License
This project is licensed under the GNU General Public License v2.0 or later. See the [LICENSE](LICENSE) file for full details.
## π Support
For support and further information:
π€ **Contact**:
Wolfangel Cyril
Email: [email protected]
π **Bug Reports and Feature Requests**:
Use the [GitHub issue tracker](https://github.com/your-username/semantic-suggestion/issues)
π **Documentation and Updates**:
Visit our [GitHub repository](https://github.com/your-username/semantic-suggestion)
---
π [Full Documentation](https://github.com/talan-hdf/semantic-suggestion/wiki) | π [Report Bug](https://github.com/talan-hdf/semantic-suggestion/issues) | π‘ [Request Feature](https://github.com/talan-hdf/semantic-suggestion/issues)