Discussion about a community project for Utility Subroutines

DonManfred

Expert
Licensed User
Longtime User
I agree with Klaus
 

LucaMs

Expert
Licensed User
Longtime User
I do not want the code in one place, I wanted to save space on the site.

If I have understood what you mean, I should edit the original post, removing the code and replacing it with a link to the Code Snippets forum.

I do not know what is the best thing. For the moment, I do nothing :D


Thank you, Klaus
 

DonManfred

Expert
Licensed User
Longtime User
No, i would not delete the original post... Leave it as it is... I would just make a copy of it in snippetsforum. And then, if you ever want to post this code for someone in the future you post a link to the snippet-thread instead of a code.

You want save space in the forum... Nice but at prices <100 euro for a 3TB Harddisc i think you can leave this VERY FEW bytes where they are :D

Maybe @Erel can give us an overview of what´s inside the website? ;)
Database-size of all threads, posts, members. Size of all attachments/downloads.
 

stevel05

Expert
Licensed User
Longtime User
That is the post that triggered this whole thing. There are two options, either add tags to the original post, or post it again in the snippets forum. I think in this case I would post it again in the Snippets forum.
 

LucaMs

Expert
Licensed User
Longtime User
That is the post that triggered this whole thing. There are two options, either add tags to the original post, or post it again in the snippets forum. I think in this case I would post it again in the Snippets forum.


"...add tags to the original post..." in the same manner in which we will insert tags in the "Code snippets" forum?
But in this case, selecting the filter "Code snippets", the code will not be found.

Fortunately, I do not think I've posted other functions! (but only sample code and projects as zip files). Then, duplicate the code does not create space problems.

Probably this is also the situation of other members, or, in the case of many functions, I am inclined to put a link to the original post in the new forum.

Ok, i try this second option... I may edit the post later ;)

############

But if I wanted to publish an entire module/class? Also it in Code Snippets?
 

stevel05

Expert
Licensed User
Longtime User
I have posted a small class in snippets, if it's something new and large, then it may be better in tutorials with a good explanation. And of course, tags.
 

LucaMs

Expert
Licensed User
Longtime User
Hi, Manfred Gonzales,

GREAT JOB, MANY THANKS!

For once, I was right: I found the right man ;).

(I have not tried it but I see it!.
About the tree ... I can wait a few more minutes :p.
I'm kidding, eventually it will mean that I will spend a few brain cell to modify it)
 

DonManfred

Expert
Licensed User
Longtime User
Delphi XE3 Professional (XE5 has Android and iOS too)
XE3 is "only" Win32/64 development...

It should be makeable with B4J easy too if you are familar with B4J. I had not much experiences with it actually.

Delphi is the language i code in the last 10 years to it was a quite fast development for me... Approx 1H
 

stevel05

Expert
Licensed User
Longtime User
It's been a great start to the snippets Forum, a big thank you to all that have taken the time to make posts. Bear in mind that this is intended as a resource for users of all levels, so examples that show anything useful that can be cut and pasted are welcome.

Hopefully it will ultimately help in the general forums, when a link to the relevant code can be posted (if the user hasn't already found it).
 

LucaMs

Expert
Licensed User
Longtime User
With the aim of achieving what I have written here,
I have tried to use, in a very pedestrian way, the example "RSS Feed reader", posted by NJDude, to read the "Code Snippets" forum.

It uses the library XmlSax.

I tried this:
B4X:
    req.InitializeGet("http://www.b4x.com/android/forum/forums/code-snippets.59")

but the generated (downloaded) file (rss.xml) seems to be not well formatted.

These are things that I do not know: some indication?

Thanks


[EDIT]
I should "download" an xml file, and that is an html, i think :(
That example uses:
"http://feeds.feedburner.com/maclandit?format=xml"
 
Last edited:
Top