Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i use include method like php in html code #2

Open
dontKnew opened this issue Apr 1, 2023 · 8 comments
Open

Can i use include method like php in html code #2

dontKnew opened this issue Apr 1, 2023 · 8 comments

Comments

@dontKnew
Copy link

dontKnew commented Apr 1, 2023

Sometimes i have 10 page of html code, in this pages, some code are usually same, now if i want to change something , now i have to change every page same thing,

Any method available in html code for include("path/to/code.html")

@Owens94819
Copy link
Owner

Hello dontKnew,

Thank you for bringing this issue to my attention. I understand that updating the same code across multiple pages can be a time-consuming and repetitive task, and i am sorry for any inconvenience it may have caused.

I am pleased to inform you that am currently working on adding a feature to this framework (xjsx) that will allow you to include external HTML code in your pages. This feature will allow you to easily update common code across multiple pages, without having to make changes to each individual page.

I aim to include this feature in my next release, which is currently scheduled for April/2/2023. I will keep you informed of any updates or changes to this timeline, and i appreciate your patience and support as i work to improve our framework.

If you have any further questions or concerns, please don't hesitate to let me know.

Best regards,
Owens94819

@Owens94819
Copy link
Owner

See HISTORY.md for a list of changes and releases.

@Owens94819
Copy link
Owner

Hey dontKnew,

Check if this meets your satisfaction, include (example)

@dontKnew
Copy link
Author

dontKnew commented Apr 2, 2023

Yh its working fine!

Thanks you so much for that!❣

@dontKnew
Copy link
Author

dontKnew commented Apr 5, 2023

Hey dontKnew,

Check if this meets your satisfaction, include (example)

inline css not working in include html and its also break include function with inline css

@Owens94819
Copy link
Owner

Owens94819 commented Apr 18, 2023

Sorry for the late response...
The css issues was fixed since v0.5.0, get the lastest version here .

The css issues was a feature intended to filter out irrelevant element such as <title, meta, link, style, script>

Well, that feature has been removed and everything should work perfectly fine😎

Always stay tuned to History.md

Also here's a recent update about your other suggestions "break your function...", I updated it to v0.1.0 cuz previous version was v0.0.2 See here

@Owens94819
Copy link
Owner

Once again thank you for your contribution and support ♥️

@Owens94819
Copy link
Owner

Here my Facebook
Am more active there

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

No branches or pull requests

2 participants