1
Skype-Fr
Re: Suggetions for xmNews & xSitemap
  • Today 9:01

  • Skype-Fr

  • Just popping in

  • Posts: 32

  • Since: 2006/4/27


Hi all,

Sorry, my mistake, with a recent theme xmNews offers a specific Meta Description of the article with 80 characters ... Finally xmNews is doing the right job!



2
Skype-Fr
Re: Suggetions for xmNews & xSitemap
  • Yesterday 15:11

  • Skype-Fr

  • Just popping in

  • Posts: 32

  • Since: 2006/4/27


correction : if, like me, you have ‘xmNews’ on your home page :

<{if $xoops_requesturi == '/modules/xmnews/index.php' or $xoops_requesturi == '/modules/xmnews/'}>
    <
link rel="canonical" href="<{$xoops_url}>/" /> 
    <{else}>
    <
link rel="canonical" href="<{$xoops_url}><{$xoops_requesturi}>" />
    <{/if}>



3
Skype-Fr
Suggetions for xmNews & xSitemap
  • Yesterday 13:19

  • Skype-Fr

  • Just popping in

  • Posts: 32

  • Since: 2006/4/27


I hesitated for a long time between choosing WordPress and Xoops to create an information site, essentially a news site (specialized content), similar to a journalistic site (no forum, no download library, or other diverse features). I was ready to go with WP, which is stronger in terms of SEO (its main advantage over Xoops), but ultimately, WP's block-based editor never convinced me and tipped the balance towards Xoops, a platform I know well.

For reasons that are a bit complicated to explain here, I should mention that my hosting environment is limited to PHP 7.33 and MySQL 8, which led me to choose Xoops 2.5.10, equipped with the xmNews and xSitemap modules.

Once the site was nearly finished, with about a dozen articles written, I faced a total de-indexation (all URLs returned 404 errors) due to a bug in the 'preloads' folder... It took me four days and nights to finally understand why and how it happened! I didn’t see any warning either during the installation of 2.5.10 or in the modules affected by this bug. However, it might be my own fault for not reading the documentation carefully enough, as I'm quite accustomed to setting up Xoops sites in earlier versions. I won’t dwell further on this, as it’s not the main focus of my topic.

I simply wanted to offer some suggestions about the xmNews and xSitemap modules in terms of SEO. This is important because even the most beautiful website in the world is useless if it doesn’t have any visitors!

1/ xmNews

It's important that every article complies with Google and Bing's recommendations.

xmNews offers a list of specific keywords for each article, but that doesn’t matter! It’s been a long time since the two main search engines stopped taking the “keywords” tag into account.

What really matters is the meta Title and Description. As for the Title, xmNews uses the article's title, which is great... but why mix it with the "sitename"? That’s counterproductive, the article title alone is sufficient. The sitename appears everywhere else, and search engines don’t like over-optimization!

Regarding the meta Description, it’s the same for every page, which is a real shame :(
I suggest generating the meta Description with the first 250 characters of the article’s summary (or scoop).

In the meantime, I will likely write some PHP code to modify the Article page and create a new Smarty variable with these 250 characters. However, I wonder if it's possible to achieve this directly in the article's template, since we already have the {$news} variable. I'm not skilled enough in Smarty coding to know if we can extract the first 250 characters from {$news} directly within the template... This would have the advantage of preserving the modification during a module update through template overrides.

Moreover, xmNews would be even better for SEO if there was a "canonical" tag. For now, I’ve added this "canonical" tag myself with a modification to the template that looks like this:


    <{if 
$xoops_requesturi == '/modules/xmnews/index.php' or $xoops_requesturi == '/modules/xmnews/index.php' or $xoops_requesturi == '/modules/xmnews/'}>
    <
link rel="canonical" href="<{$xoops_url}>/" /> 
    <{else}>
    <
link rel="canonical" href="<{$xoops_url}><{$xoops_requesturi}>" />
    <{/if}>


Finally, the 'must-have' would be specific OpenGraph tags for each article (and even for the whole site)

2/ xSitemap

The very existence of a sitemap is SEO, right? So why not do the job completely!
xSitemap should reference the URL of each article! Why does it limit itself to referencing categories? Google and Bing love when we point out the specific URLs we want them to index. Otherwise, they wouldn’t have invented sitemaps!

Of course, these are just personal suggestions, but I believe they could really improve the traffic for a site built with these modules...

Regards / Gerard



4
remel24354
Help Needed with Custom Module Development in XOOPS

Hey guys......

I have been working with XOOPS for a little while now, and I am currently trying to develop a custom module to fit some specific requirements for a project I'm working on. Although, I am running into some challenges and could really use your advice.

The module I am building involves creating a user dashboard that pulls data from multiple existing XOOPS modules (like News, Comments, and Private Messaging) and displays it in one place for easier management. I’ve gone through the basic module creation tutorial, but I’m a bit stuck on how to fetch and display data from other modules within my custom module.

Here are a few specific questions I have:

What’s the best way to retrieve data from other modules in XOOPS? Should I be using the existing APIs, or is there another recommended method?
Is there a specific XOOPS function or best practice for interacting with the database across multiple modules? I want to ensure that my approach is clean and efficient.
How should I structure the permissions for users accessing this dashboard, especially considering the different access levels required for the different modules?
Are there any examples or tutorials for similar use cases (integrating data from multiple modules) that you could point me to?
I also check this: how can i use php development in xoops modules? and blockchain I’m really looking forward to any advice or tips you can provide! I feel like I’m close, but just need some pointers to get over this hurdle.

Thanks in advance for your help!



5
Mage
Re: sbadmin5 - Bootstrap 5 Theme
  • 10/5 15:37

  • Mage

  • Core Developer

  • Posts: 207

  • Since: 2009/8/2 1


Your project sounds excellent! I'll be testing it next week.
Thank you for this work



6
goffy
Re: sbadmin5 - Bootstrap 5 Theme
  • 9/29 9:11

  • goffy

  • Just can't stay away

  • Posts: 542

  • Since: 2010/12/27


if someone needs help for creation of Modulemenu Class then please let me know



7
Mamba
Re: sbadmin5 - Bootstrap 5 Theme

Cool! Thank you!!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



8
goffy
Re: sbadmin5 - Bootstrap 5 Theme
  • 9/27 8:00

  • goffy

  • Just can't stay away

  • Posts: 542

  • Since: 2010/12/27


the tutorial you can find in the readme



9
Mamba
Re: sbadmin5 - Bootstrap 5 Theme

That's awesome!!!

Were you able to solve the issue with the menu block?

If yes, could you write a tutorial about it?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



10
goffy
sbadmin5 - Bootstrap 5 Theme
  • 9/25 18:15

  • goffy

  • Just can't stay away

  • Posts: 542

  • Since: 2010/12/27


As I need a modern dashboard theme for my wgSimpleAcc and wgFilemanager I started to work on SbAdmin5 which is based on Bootstrap 5, with minimal custom styling, suitable theme in building intranet, web apps and dashboards

Features
--------
- Closed Site Template (For Intranet Website)
- Support for XOOPS myMenus Module
- SCSS based theme with built in scripts for compiling Pug and CSS
- A flexbox based layout with fixed and static navigation options
- Toggleable sidebar menu with intuitive toggled states
- Custom panel styling
- Customizable main menu

A detailed description you can find here: https://github.com/XoopsThemes/sbadmin5/blob/master/README.md

Currently I work on implementing my modules. If you want to have a specific other module in this theme then please create an issue on: https://github.com/XoopsThemes/sbadmin5/issues

Download: https://github.com/XoopsThemes/sbadmin5

Don't hesitate to fork and/or contribute in improving this theme




TopTop
(1) 2 3 4 ... 29428 »



Login

Who's Online

157 user(s) are online (23 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits