This is my more mature blog. By mature I mean I'm going to follow some rules and I'm going to try and do more then take the easy way out. No cursing I gotta find a different way to say it and still emphatically get my point across
Pages
▼
Sunday, February 19, 2017
Public retry of the first Pagination code attempt
It appears that I goofed, not kinda goofed completely goofed. It seems that if you want to correctly paginate using the code I had typed in before you had to first complete the post, then copy the post on top of the code and then after all that greatness was done, publish don't preview(which I hate, I would like to have a decent Idea of what it is I am working on and how it looks). The thing is, if I am trying some code out for the first time I would like to preview what the hell it looks like BEFORE I go ahead and use it. I will post links to the pages I found the information on later.
I said I goofed, what did I mean? Well it seems that if you PREVIEW the post it changes the code at the bottom to whatever the code for the preview page is(which sucks) of course that made me think the code didn't work(which technically isn't the codes fault it is mine) so of course I looked on to other code and then discovered my mistake, so what did I do? I reposted the ORIGINAL code and then published it, saw that it MOSTLY worked, took it back to draft no harm no foul right, yup. Which means now I need to retry that FIRST attempt again now that I realized the failure was all user error not code error. To do that correctly though, I dear readers am going to need a post. Not really a good post, just something that has a bunch of words typed in it, that will allow the pagination code to work and will give me the ability to write longer posts without you having to read the longest post in the history of the internet. Look, I know who I am, and I know how I tend to type out my thoughts as such when I feel it gets a little out of hand I may rush things, may delete things hell may even delete whole sections because: no pagination and the post is long enough as it is, so what if I could fix that? What if I could type out a post, figure out where I wanted it to paginate at, then go back and add the correct code and once it was all finished put it up for you to read with everything going on in the background and you just getting to the bottom of a certain section and I put up the next page? Sounds awesome, and I have never minded a coding lesson I always needed the coding time and a link to the right information.
Notice how the hover text is back? Yup I was doing that for a while, then I stopped and now I am doing it again like gangbusters(don't worry I never float over curse words). I forgot the code language for it, so I stopped using it, now that I found it again and I can remember it the more I use it the less I need to go look it up. Granted I never indicate WHAT words have float overs, and if I were to type up a story I don't know how I will indicate that a certain word holds a clue/float over for later. But I actually do want to do that, it is one benefit that stories written on the internet have over stories in books published the traditional way, you can hide things in plain site for people reading them on your website. Yes you could always just type "XYZ says to himself" which is how we used to do it, but now that we have smart devices, laptops, tablets, and desktops why not take advantage. The most interesting part of this test is I have to type out 4 pages worth of content. Now the FIRST attempt I did a couple of paragraphs to see what would happen, it did not work out well.
Now that I have at least seen one attempt mostly work(though in a messy manner) I at least know that if I don't preview the post first that MOST of the code SHOULD work. Again it didn't look like it was supposed to anyway so I don't have as much faith in the first try as I possibly should but I have seen some decent pagination work so I know I could incorporate it into this blog, even if I need to figure out other tricks next. Like I want to put the little next and previous buttons on a post too so that you have the chance to go back and forth within the content, and as far as how will I decide what is "4 pages" I don't know I will type this out probably choose to keep between 3 or 4 paragraphs per section( 4 or 5 if they are short paragraphs) possibly double space them out(so that I can say next page in my head) and then do the copy pastah work. Of course just like a book report when you HAVE to write four pages it isn't as easy as when you can just type up however much you want and just go for what you know. I don't know what it is about the human mind and knowing there is a prerequisite minimum, granted unlike school "so many words per page" are not required. Not that a words per page requirement would be a problem I mean have you read this blog, I probably need to institute a work MAXIMUM so that I can keep the pages less wordy and more eye friendly.
Now I wish I could figure out the code to just make the<! --nextpage-- > code work like it does on Wordpress that would be so much easier(and most likely if I just figured out how to edit the code of my page and add the CSS to it that would solve who knows how many problems. But that will be the next test I do. Yup I am going to try and find multiple methods and once I find the right one that I feel comfortable with we are going to stick with that one. And if I find a method to add the css code for the plugin/widget/or whatever wordpress did to allow pagination then I will do that and once it is done I won't ever worry about it again and we will just fix it all in post. Now the PREVIOUS tests were all immediately reverted to draft whether they worked or not THIS post might stay up there as it is a test that I am HOPING fixes the first try. I then may make a longer post using the second method, and if I figure out a third method I will try that next. Like I said I will probably(at the bottom of this post) link to the page that I got this code for. And the same for the longer SECOND post public try, and if there is a third same for the third.
In the private posts I admitted it was all word salad so way down here on what SHOULD be page two I'm gonna say the same, I am not really trying to say anything I am just letting my mind basically wander so that I can type out enough words/characters to have some content to break into 4 pages and hopefully have the code work the way it was supposed to. And if THAT happens, I will leave this post up as an example and then look for another method. Yes this is what I do on a Sunday afternoon, actually doesn't really matter what day it is if I have the time and the inclination then I will try it out. Now IF I get it to work will I go back and edit old posts so that they break into pages instead of being long pages of text, I will consider it. But first I want to give a few different methods of pagination a try because that will be a long process that is over 400 posts that I will have to remark up, and that is exactly what I will be doing remarking up the 400 posts(well probably not all 400, just the long ones that I want to be easier on the eyes) but I will definitely use the information going forward when I do movie reviews, or write stories, rants, reviews of products, or experiences. Which is what appeals to me most about pagination, when you think about medieval times one of the biggest jokes ever was when they rolled out that huge piece of parchment that the crier, royal speaker, politician, or honored guest was about to say. Which is the same as handing someone a book right, except the book you can turn the page and then keep going, or else mark the page where you stopped at and come back later. Which of course I have access too on Wordpress but not here, so over here you have to either read it in one sitting or else try to remember where you stopped off at and come back(which is why I try to remember to add section headers I do, but sometimes what do you name them).
Plus sometimes I add in bullet points, or quotes, or other things to try and break up the monotony of the post but if I could break it up into pages not only could I save your eyes and put something that pops up there, I can also give you a chance to know you have gotten somewhere. I think one of the most rewarding things about reading a boost is realizing how far you have come and seeing how little you have left to go, I know my posts don't always give you that(at least over here). If you could see that you weren't on INFINITE SCROLL but had say 5 pages to go, and you know that you could come to a bottom somewhere I think that would be preferable, Hell I hope it's more preferable, I love seeing people come by, I also love interacting with people when they have comments, questions, or just add their own opinion on the subject. Doesn't happen nearly as often as I want to but possibly by getting things paginated more people will be inspired to do so in the future. I know this is only about two pages worth of typing, which is fine it's like a halfway point right, if I can write another 7 or 8 paragraphs boom I can be done and then move on to the next phase of this, but of course the next phase is some more work to do.
Which might make it take me longer to type up posts but if it increases people reading and responding I think it's worth it. If you ask which blog has more views I will be clear it's Blogspot but that may also be the nature of Blogspot having almost 5 times as many posts on it as wordpress does. I just hit 100 earlier this year but as I have kept going I'm over 111, so if I keep posting over there at a decent clip I may hit 200 this year, that's what a little over 10 posts a month. It might be that is a lot of rants and a lot of cursing but that would be more true to life, especially when football season rolls back around or when the playoffs start in basketball. Okay somebody has issues, while I am typing this up I am also on Star Trek Online, and somebody has just dropped a crapload of tribbles on the ground, like who does that leaves a pile of quivering furry turds laying around? Smh okay yes know you have the sight of furry quivering bear turds in your head and I apologize but it was just shocking when I looked up, mainly because yes I have gotten tribbles in my inventory but I have never actually seen them laying around on the ground, if yall wasted a giant update to actually show how many tribbles folks have dropped somebody in programming has WAAAAY to much time on their hands.
That's like Steve and the level 3075 Boss monsters(or was it higher) if you made it to a Level 99 round in a Warframe fight. First off BRUH, we don't get anywhere near that level so why you go that high and whats up with the change on the end of the 3,4,5 whatever thousand it was. Like was that the amount of your last raise? Did somebody troll you that many times somewhere and you were just like yeah, I'm gonna get those little turds in warframe they will pay for my pain? I don't know if I posted about it here or on Wordpress but I remember when I first started playing Warframe and I watched the video of that fight, there is INSTANT DEATH and then there is "Wait when did the fight start, why does it feel like my arm is shoved up my own rectum, where are my legs, where are his legs, how did I get up on this wall, wait, is this a wall" like serious the SECOND the round starts everybody is dead. Survive? There is no survival you DARED to not escape at the end of the last round, did you think this was a game, to which the answer is always, "ahem yes this is a game, a video game, that you programmed for us, so whats up with the ultra cheese." I never went past like level 40 I have had some decent level runs in warframe with some great players but once you get past a certain round it's time to hang it up, trust me, you don't want that action. Steve, Marc, Mike who ever the dude bro was who ORIGINALLY programmed that was seriously on something that day, I mean yes they fixed it later but it really was on youtube, all the WTF's I saw, like I realized "Oh, you aren't supposed to even remotely go this high. Though you was big and bad huh, nah THEY are big and bad." And the worst part about it, if you don't leave before that round you get NADA, that's right you made it to round 99 and you did it for NATHAN. That's was enough for me to say nah son, I am staying far away from that round. It's just like when you are doing the survival where the air is being sucked out of the room, you hang around as long as you can and HOPEFULLY make it to the exit but as long as one team mate can get there who cares, we can just die far away after drawing off the monsters.
And yes I know cheap bosses are nothing new in the history of gaming, cheap is one thing, tea bagging your players because of something your brought in to work on an angry day, that is uncalled for. Anyway that was another paragraph and a half see I'm banging them out, I guess technically I don't need a whole 3 or four paragraphs to end this with. I can do like the 3 or 4 for page 3 and then just type like a paragraph for page for and then boom, done time to get the test in. But I still want to see how it looks, yes I want at least 4 decent pages of content created so that once I am done typing and I see it posted up there it MIGHT have been word salad, but it was word salad that completed it's purpose which in this case is to ALLOW me to see whether or not this pagination code will work for me, as well as showing me how the multiple pages of the post will look later. So I don't want to do what I did earlier which is to just do the small junk paragraphs, no this is a full test to see A] how I would work it into my writing process and B] one it's worked in, how do I want the amount of information I typed to look in a particular post. I know some books only do 2 paragraphs per page(which I myself my switch to depending on paragraph density) or even trim it down to 3 but first I need to see what it looks like.
I don't know if anybody is actually going to read down this far, you might even be surprised that I didn't just start doing the typing drill at this point, or start holding down keys to just fill up space. To be honest I didn't even think of that plus as I said I might actually post this, so what kind of person puts up a post and then just has a bunch of letters sitting up there, that's nasty looking. Besides this gives me a chance to flex my fingers, type, and do a test. Of writing of a real(even if extremely random and convoluted) post, getting myself in a writing mindset and then putting said coding into practice. Will I do this for each test, welp if you look up there I did say I will only because it will allow me to see how it feels to use each individual mark up when writing and figure out if it is too much work or too clunky and do I like the look of said post.
My Xbox probably wishes I would focus on it but I am sure my Playstation is looking at it like "at least you are on" and that's fair, that's fair. I do have some games I plan to play on it soon, I'm just working on some Xbox Achievements I just did my first 1000 gamerscore in a long while(and what will be a long while more) not too long ago so I am trying to see what else I can get in the 400 or 500 range. I mostly online game so that's why I don't always get that much in gamerscore, like achievement out a game, not unless you have a bunch of online achievements:Most shotgun blasts to an opponents face, most nut shots, most grenades stuck to opponent or friend, lucky toss master. Not that I would ever get lucky toss master, I either catch you with the toss or I am just an inch too far away, sucks I know. For whatever reason my eye is itching with all this typing I am doing, Which is fine, it is it gives me something else to talk about. Now this last couple of paragraphs are pretty skinny which I mean as long as I have some content for the page I don't really care that much, I just want it to look good, of course I need to remember to include the br after each paragraph when I do this is mark up otherwise it will look like one long run on paragraph but again I am working on it. No links in this one yet. OOOOOH, it's an idiot with a Tribble GUN, WHY WOULD ANYONE NEED A TRIBBLE GUN? Yup a giant green MALE alien(I mean it's Star Trek green girls are everywhere) just rain through with first a tribble gun and then a BUBBLE gun, I salute his dedication to finding the craziest weapons in all of STO.
Okay, I think I will begin to tail this off. For no other reason then now that I think I have a decent 4 pages worth of content I really do what to get down to the brass tacks of saving it, taking it over to HTML, starting up another tab with an empty post on it with a similar name and then copying it into the code to see if it works, which I really hope it does. If you read down this far congratulations, if you like the way this looks please feel free to let me know. If you are mad I type up all this mess just to do a test when everyone else just puts a bunch of BS repeated paragraphs up, yes well that is them and this is me. And Just one paragraph per section wasn't going to cut it mainly because I wanted to see smh what I didn't want to see is a giant blue alien running past me with a smoke gun.... Yes really distracting, but hey folks want attention. But like I was saying Kudos if you read down this far, let me know what you think, and after getting in a few steps I may come back and try an different method of pagination. Just so I can find one that really fits for me. I think next I will look up activating CSS on my blog and seeing if that allows the nextpage code to work.
Oh yes links to the blogs/sources I used Triposoft was first and then I found the first successful and a better explanation of trips over here on Kimsix if this works you will be seeing a public post with all this crap on it, I am being assaulted with a fireworks gun and a pew pew laser, smh why STO WHY, who makes Trolling Weapons? well obviously STO
No comments:
Post a Comment